Skip to content

Commit

Permalink
compiling styl and coffee... trying to make it accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
gtramontina committed Aug 2, 2011
1 parent 7c05af5 commit 780beb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ module.exports = (express, stylus, nib, nowjs, controllers...) ->
app.use express.bodyParser()
app.use express.methodOverride()
app.use app.router
app.use stylus.middleware src: "#{__dirname}/public", compile: stylusCompiler
app.use express.compiler src: "#{__dirname}/public", enable: ['coffeescript']
app.use stylus.middleware src: "./public", compile: stylusCompiler
app.use express.compiler src: "./public", enable: ['coffeescript']
app.use express.static "#{__dirname}/public"

controllers.forEach (controller) -> controller app, nowjs
Expand Down

0 comments on commit 780beb7

Please sign in to comment.