diff options
-rwxr-xr-x | bin/dev-server | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/dev-server b/bin/dev-server index 82a407c..2d1bf99 100755 --- a/bin/dev-server +++ b/bin/dev-server @@ -18,9 +18,10 @@ watchexec \ # Watch TypeScript -CHECK="echo Checking TypeScript… && tsc --checkJs" +CHECK="echo -e 'Checking TypeScript…\n' && tsc --checkJs" BUILD="esbuild --bundle src/main.ts --target=es2017 --outdir=public" +SHOW="echo -e '\nOpen $PWD/public/index.html'" watchexec \ --clear \ --watch src \ - -- "$CHECK && $BUILD" + -- "$CHECK && $BUILD && $SHOW" |