aboutsummaryrefslogtreecommitdiff
path: root/bin/watch.sh
blob: 064414d5e57339630d333ab7d35512024a55ab38 (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 --build tsconfig.json --watch