summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2021-05-07 14:25:11 +0200
committerWolfgang Müller2021-05-07 14:25:11 +0200
commit45a87090f1ab3ceada40430dccec9caab8af84f5 (patch)
tree6b939be77df2807a9dd9e0009a2e94287c92f586
parent73622b9aea4a18b7c9f2eade3b3c26ce694ef601 (diff)
downloadsite-45a87090f1ab3ceada40430dccec9caab8af84f5.tar.gz
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.
-rw-r--r--entr.sh3
1 files changed, 2 insertions, 1 deletions
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