summaryrefslogtreecommitdiffstats
path: root/scripts/watch_and_build.sh
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-08-29 15:00:37 +0100
committerMatthew Lemon <y@yulqen.org>2024-08-29 15:00:37 +0100
commitd6d688eed9b9532ff79eb4c4ac8fb09b6e1ae2c8 (patch)
tree9304a356bc1ce03e60b9cc932c03e5daf9726da7 /scripts/watch_and_build.sh
parentafc33046439e4cec0a5de7c87cb5dc8e23606689 (diff)
Started journey to move to Tailwind
Diffstat (limited to '')
-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