changing silent value based on environment variable

v1.18.x
Julian Lam 11 years ago
parent c62f251afc
commit 8a996c4524

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

Loading…
Cancel
Save