do not require lazy config option

This commit is contained in:
spalger 2015-08-07 11:54:08 -07:00
parent cd5b6656aa
commit 2fe09cbe3c

View file

@ -50,7 +50,7 @@ module.exports = function (program) {
.option('--plugins <path>', 'an alias for --plugin-dir', pluginDirCollector)
.option('--dev', 'Run the server with development mode defaults')
.action(function (opts) {
if (opts.dev && opts.lazy && !isWorker) {
if (opts.dev && !isWorker) {
// stop processing the action and handoff to cluster manager
let ClusterManager = require('../cluster/ClusterManager');
new ClusterManager(opts);