Following the upgrade to Express 4, and the removal of app.router, I\'m struggling to get middleware to execute after routes execute.
e.g. the following code correct
Order is important http://expressjs.com/4x/api.html#app.use
express.use( function( req, res, next ) { console.log( "world" ); next(); }); express.get( "/", function( req, res ) { res.send( "hello" ); });