summaryrefslogtreecommitdiffstats
path: root/scripts/watch_templates.sh
blob: 160a46ce7a9b77be5edb8a3bf03bbc82014c3707 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/bash

inotifywait -qrme close_write,delete,move --format "%w%f" templates \
    | while read FILENAME
        do
            scripts/build_content.sh
        done