Personal homepage and static website generator for noah.is https://noah.is/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
314 B

3 years ago
#!/bin/bash
function die() {
echo >&2 $1
exit 1
}
# Before we crash and burn, make sure necessary programs are installed!
command -v inotifywait || die "I need the inotifywait command (apt install inotify-tools)"
make
while inotifywait -r -e modify,move,create,delete static templates; do
make
done