passing in all environment variables when forking, #1714

v1.18.x
Julian Lam 11 years ago
parent c6183f1a82
commit 5f68b8f657

@ -19,9 +19,7 @@ var nconf = require('nconf'),
startTimer = setTimeout(resetTimer, 1000*10);
nbb = fork('./app', process.argv.slice(2), {
env: {
'NODE_ENV': process.env.NODE_ENV
}
env: process.env
});
nbb.on('message', function(message) {

Loading…
Cancel
Save