visionmedia/express — Issue #877: Compiler middleware doesn't works
Author: fokenrute
Created: 2011-11-07 22:17:02+00:00
State: open

I run node v0.4.9 and express 2.5.0, in my app.coffee file I have:

app.use express.compiler { src: __dirname + '/pubic', enable: ['less', 'coffeescript'] }
app.use express.static __dirname + '/public'

And the directory structure for the is as follows

/public
/scripts
index.coffee
/stylesheets
index.less

But when I request scripts/index.js or stylesheets/index.css, I get a 404 error.