restart tests when entr fails

entr doesn't cope well when emacs makes/removes symlinks that it's
looking at
main
Daniel Barlow 2022-12-23 14:39:35 +00:00
parent d1e3b8c658
commit ddef8af528
2 changed files with 4 additions and 1 deletions

View File

@ -1,2 +1,5 @@
doc/index.html: doc/index.md
pandoc -t html -f gfm < $< > $@
watch:
while true ; do ( find . -type f | entr -d sh test/run.sh ) ;done

View File

@ -1,2 +1,2 @@
test: make watch
repl: fennel
test: find . -type d | entr -d sh test/run.sh