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

source "site.defaults.conf"

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