From c03bb489729c92e057ebb5bcf1ed06a3a33c5cd7 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 8 Nov 2022 11:48:27 -1000 Subject: [PATCH] ;dev: make site-watch: convert to watchexec --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 46ffeb90d..09fde88b0 100644 --- a/Makefile +++ b/Makefile @@ -859,7 +859,7 @@ LOCALSITEURL=http://localhost:3000/dev/hledger.html site-watch: $(call def-help,site-watch, open a browser on the website (in ./site) and rerender when docs or web pages change ) @make -s Shake @(printf "\nbrowser will open in $(BROWSEDELAY)s (adjust BROWSE in Makefile if needed)...\n\n"; sleep $(BROWSEDELAY); $(BROWSE) $(LOCALSITEURL)) & - @ls $(DOCSOURCEFILES) | entr -r bash -c './Shake webmanuals && ./Shake orgfiles && make -sC site serve' + @$(WATCHEXEC) -e md,m4 -r './Shake webmanuals && ./Shake orgfiles && make -sC site serve' ############################################################################### $(call def-help-subheading,RELEASING:)