summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-06-06 21:02:06 +0200
committerWynn Wolf Arbor2020-06-06 21:02:06 +0200
commitb70148e133a91eef64d53361757e70cd2e00b3d1 (patch)
tree48dafd76bbd3c7c5a77a2bf8095164ef8e2272c1
parent31e067ad2d2b02a64e936ed6b882489ec434abda (diff)
downloadsite-b70148e133a91eef64d53361757e70cd2e00b3d1.tar.gz
Add entr.sh
Introduce a small script that uses entr(1) to rebuild the site in the every time a file is changed.
-rw-r--r--entr.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/entr.sh b/entr.sh
new file mode 100644
index 0000000..5c824a3
--- /dev/null
+++ b/entr.sh
@@ -0,0 +1,6 @@
+while true; do
+ {
+ fd -e xml -e md -e scss
+ fd . util/
+ } | entr -pcd make
+done