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