var HotSwap = {}, winston = require('winston'), stack; HotSwap.prepare = function(app) { stack = app._router.stack; }; HotSwap.find = function(id) { if (stack) { for(var x=0,numEntries=stack.length;x