summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/watch_content.sh9
-rwxr-xr-xscripts/watch_sass.sh9
2 files changed, 12 insertions, 6 deletions
diff --git a/scripts/watch_content.sh b/scripts/watch_content.sh
index 59d60a4..d2578e1 100755
--- a/scripts/watch_content.sh
+++ b/scripts/watch_content.sh
@@ -1,5 +1,8 @@
1#!/bin/bash 1#!/bin/bash
2 2
3while inotifywait -r -e close_write content; do 3inotifywait -m -e create -e close_write --format "%f" content \
4 scripts/build_content.sh 4 | while read FILENAME
5done 5 do
6 printf "Change detected: %s\n" "$FILENAME"
7 scripts/build_content.sh
8 done
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
3while inotifywait -r -e close_write assets; do 3inotifywait -m -e create -e close_write --format "%f" assets \
4 scripts/build_sass.sh 4 | while read FILENAME
5done 5 do
6 printf "Change detected: %s\n" "$FILENAME"
7 scripts/build_sass.sh
8 done