summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-04-11 21:48:15 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-04-11 21:48:15 +0800
commit69882f7a25964552ae727c03469da52692f6ff1a (patch)
treee90104c53f6afef95ffd793c5d700d8363017e58
parent1c0387549700d9ce64918fb5536e37350757c7dd (diff)
optimized directory use when npx serve
-rwxr-xr-xlaunch.sh4
1 files changed, 1 insertions, 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() {