8 lines
141 B
Bash
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
|