emile/update.sh
2024-09-25 09:05:48 +02:00

8 lines
141 B
Bash

#!/bin/sh
while true; do
inotifywait -r -e modify,create,delete ./content
zola build
echo "Changes detected. Rebuilding site..."
done