summaryrefslogtreecommitdiffstats
path: root/scripts/watch_templates.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/watch_templates.sh')
-rwxr-xr-xscripts/watch_templates.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/watch_templates.sh b/scripts/watch_templates.sh
new file mode 100755
index 0000000..160a46c
--- /dev/null
+++ b/scripts/watch_templates.sh
@@ -0,0 +1,7 @@
1#!/bin/bash
2
3inotifywait -qrme close_write,delete,move --format "%w%f" templates \
4 | while read FILENAME
5 do
6 scripts/build_content.sh
7 done