From 238ad7ce51f17e1098c624e7f61ee2d98de1e02d Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Fri, 25 Jul 2025 16:57:21 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96start=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- start.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/start.sh b/start.sh index 64946704..78bb46ce 100755 --- a/start.sh +++ b/start.sh @@ -33,22 +33,22 @@ echo "开始构建" echo "构建certd-client" export NODE_OPTIONS=--max-old-space-size=32768 cd packages/ui/certd-client -npm run build +pnpm run build cp -r dist/* ../certd-server/public echo "构建certd-server" cd ../certd-server -npm run build +pnpm run build echo "构建完成" echo "启动服务" # 前台运行 if [ $confirmNohup != "y" ]; then echo "当前运行模式为前台运行,ctrl+c或者关闭ssh将会停止运行" - npm run start + pnpm run start else echo "当前运行模式为后台运行,可以通过tail -f ./certd.log 命令查看日志" - nohup npm run start > certd.log & + nohup pnpm run start > certd.log & fi