From 3b15d49467a4ea81c3adf101b806d7236ba395bb Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 23 Dec 2020 09:10:31 +0100 Subject: Better build script, allow static files in content folder --- scripts/watch_content.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/watch_content.sh') diff --git a/scripts/watch_content.sh b/scripts/watch_content.sh index 60f7b07..c4f55fb 100755 --- a/scripts/watch_content.sh +++ b/scripts/watch_content.sh @@ -1,9 +1,8 @@ #!/bin/bash -inotifywait -rme create,close_write,delete,move --format "%w%f" content \ +inotifywait -qrme close_write,delete,move --format "%w%f" content \ | while read FILENAME do - printf "Change detected: %s\n" "$FILENAME" if [ -f "$FILENAME" ]; then scripts/build_content.sh "$FILENAME" elif [ ! -d "$FILENAME" ]; then -- cgit v1.2.3-54-g00ecf