增加forever模组用于开发热更新和部署服务进程

This commit is contained in:
aixianling
2022-03-31 09:33:50 +08:00
parent f56c30780a
commit 7a71fd963a

View File

@@ -4,7 +4,8 @@
"description": "node服务端",
"main": "index.js",
"scripts": {
"dev": "node index.js"
"dev": "forever -w index.js",
"pro": "forever start index.js"
},
"repository": {
"type": "git",