diff --git a/watch.sh b/watch.sh index 7ac35b0..7607555 100755 --- a/watch.sh +++ b/watch.sh @@ -5,6 +5,10 @@ PREVIOUS_DIR=$(pwd) cd $DIR -echo "$(git ls-files src && git ls-files bin/data && echo "assets/template.html")" | entr -d ./rebuild.sh +while true; +do + echo "$(git ls-files src && git ls-files bin/data && echo "assets/template.html")" | entr -d ./rebuild.sh + sleep 1 +done cd $PREVIOUS_DIR diff --git a/watchJs.sh b/watchJs.sh index a0a820a..7df7876 100755 --- a/watchJs.sh +++ b/watchJs.sh @@ -5,6 +5,10 @@ PREVIOUS_DIR=$(pwd) cd $DIR -echo "$(git ls-files bin/em/variabletime/web)" | entr -d ./reloadbrowser.sh +while true; +do + echo "$(git ls-files bin/em/variabletime/web)" | entr -d ./reloadbrowser.sh + sleep 1 +done cd $PREVIOUS_DIR