diff --git a/modules/web/config.json b/modules/web/config.json index 47a0b3a..981e0f7 100644 --- a/modules/web/config.json +++ b/modules/web/config.json @@ -1,5 +1,4 @@ { - "ignorable": false, "webHost": "localhost", - "webPort": 9001 + "webPort": 8080 } diff --git a/run.js b/run.js index fadc12b..76c1bd1 100644 --- a/run.js +++ b/run.js @@ -153,7 +153,7 @@ DBot.prototype.reloadModules = function() { this.instance.removeListeners(); - moduleNames.each(function(name) { + _.each(moduleNames, function(name) { var moduleDir = './modules/' + name + '/'; var cacheKey = require.resolve(moduleDir + name); delete require.cache[cacheKey];