wait for all routes to load before listening

This commit is contained in:
barisusakli
2017-03-16 11:24:31 +03:00
parent 2ef71e22aa
commit 449352d899
3 changed files with 6 additions and 6 deletions

View File

@@ -96,8 +96,7 @@ function initializeNodeBB(callback) {
plugins.fireHook('filter:hotswap.prepare', [], next);
},
function (hotswapIds, next) {
routes(app, middleware, hotswapIds);
next();
routes(app, middleware, hotswapIds, next);
},
function (next) {
async.series([