Allow debug to be set at runtime for gulp

This commit is contained in:
Berkeley Martinez
2015-06-10 17:11:56 -07:00
parent 9f5ace03dc
commit d01a48a8c3

View File

@ -29,7 +29,7 @@ gulp.task('serve', function(cb) {
ignore: paths.serverIgnore,
env: {
'NODE_ENV': 'development',
'DEBUG': 'freecc:*'
'DEBUG': process.env.DEBUG || 'freecc:*'
}
})
.on('start', function() {