From ddef8af52843ee9f7a4ae8df2ff55ed2248c028d Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 23 Dec 2022 14:39:35 +0000 Subject: [PATCH] restart tests when entr fails entr doesn't cope well when emacs makes/removes symlinks that it's looking at --- Makefile | 3 +++ Procfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 92fe27a..3825d0c 100644 --- 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 index 05a030e..5fd08bb 100644 --- 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