增加forever模组用于开发热更新和部署服务进程
This commit is contained in:
@@ -4,7 +4,8 @@
|
|||||||
"description": "node服务端",
|
"description": "node服务端",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "node index.js"
|
"dev": "forever -w index.js",
|
||||||
|
"pro": "forever start index.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user