From 45a87090f1ab3ceada40430dccec9caab8af84f5 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Fri, 7 May 2021 14:25:11 +0200 Subject: Have entr.sh build the page immediately The -p flag didn't really make a lot of sense unless entr runs the entire time. Additionally, sleep for a second in the loop to make it easier to cancel. --- entr.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entr.sh b/entr.sh index 5c824a3..ce74f01 100644 --- a/entr.sh +++ b/entr.sh @@ -2,5 +2,6 @@ while true; do { fd -e xml -e md -e scss fd . util/ - } | entr -pcd make + } | entr -cd make + sleep 1 done -- cgit v1.2.3-2-gb3c3