How to implement Compass, Sass to a node.js project?
问题 i have recently implemented the grunt task runner on my Node.js project and i'm using grunt-contrib-compass and grunt-contrib-watch in order to compile my sass and compass code through grunt whenever i make any changes. My grunt file is like this:- module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), compass: { dist: { options: { sassDir: 'public/sass', cssDir: 'public/css' } } }, watch: { css: { files: '**/*.scss', tasks: ['compass'] } } }); grunt