From a1e1508bbeb19c3e6b7f0f7335cbc5cb0a1cc56e Mon Sep 17 00:00:00 2001 From: fantasticit Date: Fri, 1 Apr 2022 22:16:34 +0800 Subject: [PATCH] fix: no necessary to use pm2 cluster --- packages/client/package.json | 2 +- packages/server/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/package.json b/packages/client/package.json index 9934d7c..14b36b6 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -6,7 +6,7 @@ "prebuild": "rimraf .next", "build": "next build", "start": "cross-env NODE_ENV=production next start -p 5002", - "pm2": "pm2 start -i max npm --name @think/client -- start" + "pm2": "pm2 start npm --name @think/client -- start" }, "dependencies": { "@douyinfe/semi-icons": "^2.3.1", diff --git a/packages/server/package.json b/packages/server/package.json index 1e05885..71ed412 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -9,7 +9,7 @@ "dev": "nest start --watch", "debug": "nest start --debug --watch", "start": "cross-env NODE_ENV=production node dist/main", - "pm2": "pm2 start -i max npm --name @think/server -- start", + "pm2": "pm2 start npm --name @think/server -- start", "lint": "tslint -p tsconfig.json -c tslint.json", "test": "jest", "test:watch": "jest --watch",