Several random fixes + updates to pm2 script.
This commit is contained in:
@@ -4,9 +4,16 @@ module.exports = {
|
||||
name: "ImEX Online API",
|
||||
script: "./server.js",
|
||||
watch: true,
|
||||
watch_delay: 1000,
|
||||
ignore_watch: ["node_modules", "client/img"],
|
||||
watch_options: {
|
||||
followSymlinks: false,
|
||||
},
|
||||
env: {
|
||||
NODE_ENV: "production",
|
||||
},
|
||||
instances: "max",
|
||||
exec_mode: "cluster",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user