reloading plugins after main template compilation, during reload

v1.18.x
Julian Lam 9 years ago
parent 982746cedf
commit 34cafbc0a8

@ -61,14 +61,14 @@ var async = require('async'),
plugins.fireHook('static:app.reload', {}, next);
},
async.apply(plugins.clearRequireCache),
async.apply(plugins.reload),
async.apply(plugins.reloadRoutes),
async.apply(Meta.css.minify),
async.apply(Meta.js.minify, 'nodebb.min.js'),
async.apply(Meta.js.minify, 'acp.min.js'),
async.apply(Meta.sounds.init),
async.apply(languages.init),
async.apply(Meta.templates.compile),
async.apply(plugins.reload),
async.apply(plugins.reloadRoutes),
async.apply(auth.reloadRoutes),
function(next) {
Meta.config['cache-buster'] = utils.generateUUID();

Loading…
Cancel
Save