changing silent value based on environment variable

v1.18.x
Julian Lam
parent c62f251afc
commit 8a996c4524

@ -103,7 +103,7 @@ Loader.init = function() {
cluster.setupMaster({ cluster.setupMaster({
exec: "app.js", exec: "app.js",
silent: true silent: process.env.NODE_ENV !== 'development' ? true : false
}); });
for(var x=0;x<numCPUs;x++) { for(var x=0;x<numCPUs;x++) {

Loading…
Cancel
Save