Automatically build, watch and serve your sass files. Highly inspired by enchilada.
var app = express();
// serves up all your sass files
app.use(quesadilla(__dirname + '/public'));
// fallback for other static resources
app.use(express.static(__dirname + '/public'));Now just visit any .css url which maps to a path under /public and the compiled file will be served.
app.use(quesadilla({
src: __dirname + '/public', // location of your scss files
}));quesadilla will forward options to node-sass, for example:
app.use(quesadilla({
src: __dirname + '/style',
outputStyle: 'compressed'
}));See the examples directory for working code you can copy and paste.
Install with npm
npm install quesadillaMIT