aboutsummaryrefslogtreecommitdiff
path: root/watch_and_host.sh
blob: a5dd265894b1303bc1fb4535e4898c7efcba28b2 (plain)
1
2
3
4
5
6
7
8
#! /bin/bash

python -m http.server &

inotifywait -e modify,create,delete -r . -m \
| while read; do
  ./compile.sh
done