summaryrefslogtreecommitdiffstats
path: root/scripts/watch_and_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/watch_and_build.sh')
-rwxr-xr-xscripts/watch_and_build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/watch_and_build.sh b/scripts/watch_and_build.sh
new file mode 100755
index 0000000..14f6f2e
--- /dev/null
+++ b/scripts/watch_and_build.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+while inotifywait -e modify,create,delete -r ./templates ./core/templates ./engagements/templates
+do
+ npm run build
+done \ No newline at end of file