fix: no necessary to use pm2 cluster

This commit is contained in:
fantasticit 2022-04-01 22:16:34 +08:00
parent bf2c55b0fb
commit a1e1508bbe
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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",