diff options
Diffstat (limited to 'scripts/watch_content.sh')
-rwxr-xr-x | scripts/watch_content.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/watch_content.sh b/scripts/watch_content.sh deleted file mode 100755 index 30f8a6c..0000000 --- a/scripts/watch_content.sh +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | source "site.defaults.conf" | ||
4 | |||
5 | inotifywait -qrme close_write,delete,move --format "%w%f" "${CONTENT_DIR%/}" \ | ||
6 | | while read file | ||
7 | do | ||
8 | if [ -f "$file" ]; then | ||
9 | # scripts/build_content.sh "single" "$file" | ||
10 | scripts/build_content.sh | ||
11 | elif [ ! -d "$file" ]; then | ||
12 | scripts/build_content.sh "delete" "$file" | ||
13 | fi | ||
14 | done | ||