diff options
author | Joris | 2023-03-04 12:47:06 +0100 |
---|---|---|
committer | Joris | 2023-03-04 12:47:18 +0100 |
commit | 08a5f3519f29cd486d7fe4c295e5d5c7f031104a (patch) | |
tree | 1ce463012fddb9fef24dddf44c745942e53bbe2a | |
parent | ce2c5254d2f4b75e16cff36a84c90db62481da80 (diff) |
Show link to index.html in bin/dev-server
-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" |