proof-of-concept for hot-swapping of routes

This commit is contained in:
Julian Lam
2014-08-24 12:30:49 -04:00
parent f11601d70f
commit ba91d7aba6
5 changed files with 117 additions and 45 deletions

View File

@@ -56,6 +56,7 @@ if(nconf.get('ssl')) {
}, function(err, data) {
middleware = middleware(app, data);
routes(app, middleware);
plugins.prepareApp(app, middleware);
if (err) {
winston.error('Errors were encountered while attempting to initialise NodeBB.');