From e6e14f558e875195832116ca401b08312b1d22bd Mon Sep 17 00:00:00 2001 From: David Baldwynn Date: Fri, 20 May 2016 13:39:48 -0700 Subject: [PATCH] updated watch dirs in ecosystem.json --- ecosystem.json | 4 ++-- server.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) });