aboutsummaryrefslogtreecommitdiff
path: root/watch_and_host.sh
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-03-19 16:57:18 -0400
committeriamcheeseman <[email protected]>2026-03-19 16:57:18 -0400
commit82edda96ef68a4e4d0695fe1e056b609fdd83074 (patch)
tree5eef077fdbd15f109f625a5fd455df0d5fc9e363 /watch_and_host.sh
hello, world
Diffstat (limited to 'watch_and_host.sh')
-rwxr-xr-xwatch_and_host.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/watch_and_host.sh b/watch_and_host.sh
new file mode 100755
index 0000000..a5dd265
--- /dev/null
+++ b/watch_and_host.sh
@@ -0,0 +1,8 @@
+#! /bin/bash
+
+python -m http.server &
+
+inotifywait -e modify,create,delete -r . -m \
+| while read; do
+ ./compile.sh
+done