summaryrefslogtreecommitdiffstats
path: root/scripts/watch_content.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/watch_content.sh')
-rwxr-xr-xscripts/watch_content.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/watch_content.sh b/scripts/watch_content.sh
index 92719d3..66b726f 100755
--- a/scripts/watch_content.sh
+++ b/scripts/watch_content.sh
@@ -10,7 +10,8 @@ inotifywait -qrme close_write,delete,move --format "%w%f" "${CONTENT_DIR%/}" \
10 | while read file 10 | while read file
11 do 11 do
12 if [ -f "$file" ]; then 12 if [ -f "$file" ]; then
13 scripts/build_content.sh "single" "$file" 13 # scripts/build_content.sh "single" "$file"
14 scripts/build_content.sh "all_md"
14 elif [ ! -d "$file" ]; then 15 elif [ ! -d "$file" ]; then
15 scripts/build_content.sh "delete" "$file" 16 scripts/build_content.sh "delete" "$file"
16 fi 17 fi