aboutsummaryrefslogtreecommitdiff
path: root/bin/watch.sh
blob: f38a2c8a22befcc37c2a451df05e04139df650f3 (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env bash
set -euo pipefail

python -m http.server --directory public 8000 &

trap "fuser -k 8000/tcp" EXIT

tsc --watch