dsc / connect-compiler

Development middleware to dynamically recompile derived files at serve-time.
http://github.com/dsc/connect-compiler
MIT License
41 stars 14 forks source link

replace sass.js implementation with support for node-sass #16

Open airtonix opened 10 years ago

airtonix commented 10 years ago

the support for sass.js doesn't seem to work anymore:

with the following server.coffee:

connect = require 'connect'
compiler = require 'connect-compiler'
# uncomment as required
# sass = require 'node-sass'
# sass = require 'sass.js'

server = connect.createServer(
    connect.logger 'dev'
    connect.favicon()
    compiler
        enabled: ['sass', 'coffee', 'jade']
        src: 'src'
        dest: 'tmp'
        resolve_index: true

    connect.static __dirname + '/src'
    connect.static __dirname + '/tmp'
)
server.listen 8000