From 69882f7a25964552ae727c03469da52692f6ff1a Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Thu, 11 Apr 2024 21:48:15 +0800 Subject: optimized directory use when npx serve --- launch.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/launch.sh b/launch.sh index 7c2aa264..50a00025 100755 --- a/launch.sh +++ b/launch.sh @@ -29,9 +29,7 @@ function watch() { function start() { printf '\033[0;32mNpx Server Starting...\033[0m\n' - pushd public - exec npx serve -d -p 209 #| npx gnomon; - popd + exec npx serve -d -p 209 public #| npx gnomon; } function main() { -- cgit v1.2.3