aboutsummaryrefslogtreecommitdiff
path: root/bin/watch.sh
blob: 86eeab730028c65b7e1a3e97765dd41e3c76d6dd (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 --target ES2017 --watch