blob: 802c5036af644ee747c9ff52e988b6a9a47d3cdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
python -m http.server --directory public 8000 &
trap "fuser -k 8000/tcp" EXIT
CMD="clear && wasm-pack build --target web"
while true; do
find src | entr -d -s "$CMD"
done
|