mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 12:46:11 +02:00
moved plugin route reloading outside of plugin initialisation, so plugins can add a hook listener before core routes have been added
This commit is contained in:
@@ -53,6 +53,7 @@ var async = require('async'),
|
||||
async.series([
|
||||
async.apply(plugins.clearRequireCache),
|
||||
async.apply(plugins.reload),
|
||||
async.apply(plugins.reloadRoutes),
|
||||
function(next) {
|
||||
async.parallel([
|
||||
async.apply(Meta.js.minify, false),
|
||||
|
||||
Reference in New Issue
Block a user