diff options
| author | iamcheeseman <[email protected]> | 2026-03-19 16:57:18 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-03-19 16:57:18 -0400 |
| commit | 82edda96ef68a4e4d0695fe1e056b609fdd83074 (patch) | |
| tree | 5eef077fdbd15f109f625a5fd455df0d5fc9e363 /watch_and_host.sh | |
hello, world
Diffstat (limited to 'watch_and_host.sh')
| -rwxr-xr-x | watch_and_host.sh | 8 |
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 |
