调整pm2配置
This commit is contained in:
@@ -6,16 +6,10 @@ module.exports = {
|
|||||||
watch: ["src", "tpl"],
|
watch: ["src", "tpl"],
|
||||||
ignore_watch: ["node_modules"],
|
ignore_watch: ["node_modules"],
|
||||||
shutdown_with_message: true,
|
shutdown_with_message: true,
|
||||||
env: {
|
|
||||||
"NODE_ENV": "development",
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'oms-node',
|
name: 'oms-node',
|
||||||
script: "index.js",
|
script: "index.js",
|
||||||
env: {
|
|
||||||
"NODE_ENV": "production",
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
deploy: {
|
deploy: {
|
||||||
|
|||||||
Reference in New Issue
Block a user