mirror of https://github.com/fantasticit/think.git
fix: no necessary to use pm2 cluster
parent
bf2c55b0fb
commit
a1e1508bbe
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue