diff options
Diffstat (limited to 'scripts/watch_content.sh')
-rwxr-xr-x | scripts/watch_content.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/watch_content.sh b/scripts/watch_content.sh index c4f55fb..769f2c5 100755 --- a/scripts/watch_content.sh +++ b/scripts/watch_content.sh | |||
@@ -4,8 +4,8 @@ inotifywait -qrme close_write,delete,move --format "%w%f" content \ | |||
4 | | while read FILENAME | 4 | | while read FILENAME |
5 | do | 5 | do |
6 | if [ -f "$FILENAME" ]; then | 6 | if [ -f "$FILENAME" ]; then |
7 | scripts/build_content.sh "$FILENAME" | 7 | scripts/build_content.sh "single" "$FILENAME" |
8 | elif [ ! -d "$FILENAME" ]; then | 8 | elif [ ! -d "$FILENAME" ]; then |
9 | scripts/build_content.sh "$FILENAME" "delete" | 9 | scripts/build_content.sh "delete" "$FILENAME" |
10 | fi | 10 | fi |
11 | done | 11 | done |