diff options
author | Joris | 2021-05-20 10:01:57 +0200 |
---|---|---|
committer | Joris | 2021-05-20 10:01:57 +0200 |
commit | 9d3c5577285625dec2c02743b0b558597230d650 (patch) | |
tree | cc1ae302556846b7069a33a4676c1e4b89b1a1c4 /bin/dev-server | |
parent | f9e7e819a0a673befb11b24404efeb9d6644bceb (diff) |
Rename watch to dev-server
Diffstat (limited to 'bin/dev-server')
-rwxr-xr-x | bin/dev-server | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/dev-server b/bin/dev-server new file mode 100755 index 0000000..86eeab7 --- /dev/null +++ b/bin/dev-server @@ -0,0 +1,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 |