title: nodejs express 3.0 app.use does it get called
body: <p>I am using <em>Express 3.x</em> and when I put </p>
  
  <pre><code>express = require("express")
  routes = require("./routes")
  http = require("http")
  path = require("path")
  app = express()
  app.configure -&gt;
      app.set "port", process.env.PORT or 3000
      app.set "views", __dirname + "/views"
      app.set "view engine", "jade"
      app.use express.favicon()
      app.use express.logger("dev")
      app.use express.bodyParser()
      app.use express.methodOverride()
      app.use app.router
      app.use express.static(path.join(__dirname, "public"))
  
  app.use (req,res,next)-&gt;
      res.locals.name = "Jesse"
      next()
  
  
  app.use "/", (req,res,next)-&gt;
      res.locals.name = "Jesse"
  
  app.configure "development", -&gt;
      app.use express.errorHandler()
  
  app.get "/", routes.index
  
  http.createServer(app).listen app.get("port"), -&gt;
      console.log "Express server listening on port " + app.get("port")
  </code></pre>
  
  <p>and my <em>View</em> is </p>
  
  <pre><code>extends layout
  
  block content
    h1= title
    p Welcome to #{title}
    p Hello Mr #{name}
  </code></pre>
  
  <p>I am expecting the first middleware(app.use) to get called every time the get request comes in, but it doesn't happen.  Is there any change from express2.x?</p>
  
  <p>This is from the express 3.x directory and it is commented </p>
  
  <p><a href="https://github.com/visionmedia/express/blob/master/examples/view-locals/index.js" rel="nofollow">https://github.com/visionmedia/express/blob/master/examples/view-locals/index.js</a></p>
  
  <p>Thanks</p>