From 08a5f3519f29cd486d7fe4c295e5d5c7f031104a Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 4 Mar 2023 12:47:06 +0100 Subject: Show link to index.html in bin/dev-server --- bin/dev-server | 5 +++-- 1 file 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" -- cgit v1.2.3