diff --git a/ecosystem.json b/ecosystem.json index 18f4f279..ab4b58e7 100644 --- a/ecosystem.json +++ b/ecosystem.json @@ -2,9 +2,9 @@ "apps" : [{ "name" : "tellform", "script" : "/usr/local/bin/grunt", - "instances" : "0", + "instances" : "max", "exec_mode" : "cluster", - "watch": ["app", "public"], + "watch": ["app", "public/modules/"] }], "deploy" : { "stage" : { diff --git a/server.js b/server.js index 1e8fce3b..fb6192ed 100755 --- a/server.js +++ b/server.js @@ -48,7 +48,7 @@ if (process.env.NODE_ENV === 'secure') { console.log('--'); process.on('uncaughtException', function (err) { - console.error((new Date).toUTCString() + ' uncaughtException:', err.message) + console.error((new Date).toUTCString() + ' uncaughtException:', err.message); console.error(err.stack); process.exit(1) });