开发的时候保活进程

This commit is contained in:
cool 2024-05-16 13:56:52 +08:00
parent 38a6693468
commit 8d7e740484

View File

@ -46,7 +46,7 @@
"cross-env": "^7.0.3",
"jest": "^29.7.0",
"mwts": "^1.3.0",
"mwtsc": "^1.9.1",
"mwtsc": "^1.10.0",
"ts-jest": "^29.1.2",
"typescript": "~5.4.5"
},
@ -55,7 +55,7 @@
},
"scripts": {
"start": "NODE_ENV=production node ./bootstrap.js",
"dev": "cross-env NODE_ENV=local mwtsc --watch --run @midwayjs/mock/app.js",
"dev": "cross-env NODE_ENV=local mwtsc --watch --run @midwayjs/mock/app.js --keepalive",
"cov": "jest --coverage",
"lint": "mwts check",
"lint:fix": "mwts fix",