Skip to content

Instantly share code, notes, and snippets.

@shama
Created February 24, 2014 19:12
Show Gist options
  • Save shama/9194879 to your computer and use it in GitHub Desktop.
Save shama/9194879 to your computer and use it in GitHub Desktop.
Simple gruntfile that compiles with compass
module.exports = function(grunt) {
grunt.initConfig({
compass: {
dist: {
options: {
sassDir: 'sass',
cssDir: 'css',
environment: 'production',
},
},
},
watch: {
css: {
files: ['sass/*.scss'],
tasks: ['compass'],
},
},
});
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-compass');
grunt.registerTask('default', ['compass']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment