diff options
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 |
