commit ddef8af52843ee9f7a4ae8df2ff55ed2248c028d
parent d1e3b8c658c1f84ad63337da40a25e35232053d6
Author: Daniel Barlow <dan@telent.net>
Date: Fri, 23 Dec 2022 14:39:35 +0000
restart tests when entr fails
entr doesn't cope well when emacs makes/removes symlinks that it's
looking at
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -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
diff --git a/Procfile b/Procfile
@@ -1,2 +1,2 @@
+test: make watch
repl: fennel
-test: find . -type d | entr -d sh test/run.sh
-\ No newline at end of file