Skip to content

Instantly share code, notes, and snippets.

@neysimoes
Created March 4, 2015 16:45
Show Gist options
  • Save neysimoes/21cf72bf8ec22a2abe2a to your computer and use it in GitHub Desktop.
Save neysimoes/21cf72bf8ec22a2abe2a to your computer and use it in GitHub Desktop.
module.exports = function(grunt) {
'use strict';
require('load-grunt-tasks')(grunt);
grunt.initConfig({
sass: {
options: {
sourceMap: false
},
dist: {
files: {
'css/main.css' : '_scss/style.scss'
},
}
},
clean: {
build: {
src: ["css/"]
}
},
watch: {
css: {
files: ['_scss/**', '_scss/*.scss'],
// tasks: ['clean', 'sass']
tasks: ['sass']
}
}
});
grunt.registerTask('w', ['watch']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment