better live dev env

This commit is contained in:
Peder Bergebakken Sundt 2022-11-29 21:37:39 +01:00
parent 0e1bb8a3a6
commit fda2f29235
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1,2 @@
main-*.js main-*.js
live.html

View File

@ -3,4 +3,4 @@
cd "$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)" cd "$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"
set -eo pipefail set -eo pipefail
git ls-files | entr -p ./example.sh git ls-files | entr bash -c "./example.sh > live.html"