changing silent value based on environment variable

This commit is contained in:
Julian Lam
2014-09-04 15:13:16 -04:00
parent c62f251afc
commit 8a996c4524

View File

@@ -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++) {