From 91f56bd170520453503ac955ffa0e742348e1f64 Mon Sep 17 00:00:00 2001 From: ZtRXR Date: Fri, 1 Sep 2023 17:22:16 +0800 Subject: [PATCH] sh --- start.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/start.sh b/start.sh index 299dcc9..c11bf5c 100644 --- a/start.sh +++ b/start.sh @@ -14,14 +14,6 @@ cp ./word.json ./.output/ # 4. 切换到 ./.output 目录 cd ./.output -port=3000 -pid_list=$(lsof -t -i:$port) - -# 杀死这些进程 -for pid in $pid_list; do - echo "Killing process with PID $pid" - kill $pid -done # 5. 执行 node ./server/index.mjs node ./server/index.mjs