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

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