use watchexec instead of entr

This commit is contained in:
Brian Hicks 2020-11-06 06:22:39 -06:00
parent 3c34ee5a42
commit 623658886e
2 changed files with 3 additions and 5 deletions

View File

@ -17,9 +17,7 @@ changes, I'll try to be smart about what should change (things end up in the
"public" directory if you want to check my work.) If you remove a file and it's
still showing up, delete the "public" directory and restart me.
To rebuild manually, hit SPC.
To quit, hit "q" or ctrl-c.
To quit, hit ctrl-c.
== thaaat's it from me! =======================================================
@ -34,4 +32,4 @@ cleanup() {
trap cleanup EXIT INT
# start a watcher. This loops forever, so we don't need to loop ourselves.
git ls-files | entr -c -p shake --compact "$SHAKE_TARGET"
exec watchexec --clear --postpone -- shake --compact "$SHAKE_TARGET"

View File

@ -26,8 +26,8 @@ stdenv.mkDerivation {
elmPackages.elm-verify-examples
# preview dependencies
entr
python3
watchexec
# stuff we need for running builds in a `nix-shell --pure` environment.
which