调整pm2配置

This commit is contained in:
aixianling
2023-06-12 13:46:29 +08:00
parent 857825af4a
commit ff1f5ce6fa

View File

@@ -6,16 +6,10 @@ module.exports = {
watch: ["src", "tpl"],
ignore_watch: ["node_modules"],
shutdown_with_message: true,
env: {
"NODE_ENV": "development",
}
},
{
name: 'oms-node',
script: "index.js",
env: {
"NODE_ENV": "production",
}
}
],
deploy: {