diff options
Diffstat (limited to 'scripts/watch_sass.sh')
-rwxr-xr-x | scripts/watch_sass.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/watch_sass.sh b/scripts/watch_sass.sh index 69605dc..e7b2952 100755 --- a/scripts/watch_sass.sh +++ b/scripts/watch_sass.sh | |||
@@ -1,5 +1,8 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | while inotifywait -r -e close_write assets; do | 3 | inotifywait -m -e create -e close_write --format "%f" assets \ |
4 | scripts/build_sass.sh | 4 | | while read FILENAME |
5 | done | 5 | do |
6 | printf "Change detected: %s\n" "$FILENAME" | ||
7 | scripts/build_sass.sh | ||
8 | done | ||