commiting

This commit is contained in:
2023-12-15 10:30:18 -05:00
parent b6b7ac2418
commit 5db1626ef1
410 changed files with 52075 additions and 318 deletions

16
scripts/watch_changes.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/sh
WATCH_DIR=$(pwd)/templates
INOTIFY_CMD=$(inotifywait -r --format %f \
-e modify \
-e create \
-e delete "$WATCH_DIR")
while f=$INOTIFY_CMD
do
echo -n "Rebuilding site... "
make clean
python ./generate-site.py
echo "done"
done