refactor: dev mode

This commit is contained in:
NGPixel
2018-01-27 00:20:49 -05:00
parent 1be3234ba1
commit f0e45ece6f
9 changed files with 92 additions and 31 deletions

View File

@@ -64,7 +64,9 @@ module.exports = {
})
cluster.on('exit', (worker, code, signal) => {
wiki.logger.info(`Background Worker #${worker.id} was terminated.`)
if (!global.DEV) {
wiki.logger.info(`Background Worker #${worker.id} was terminated.`)
}
})
},
/**