Skip to content

Instantly share code, notes, and snippets.

@alexpchin
Created November 2, 2015 14:59
Show Gist options
  • Save alexpchin/4b6ec224112697f3dc7f to your computer and use it in GitHub Desktop.
Save alexpchin/4b6ec224112697f3dc7f to your computer and use it in GitHub Desktop.
gruntfile.js
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
files: {
'public/css/style.css' : 'public/scss/style.scss'
}
}
},
watch: {
css: {
files: '**/*.scss',
tasks: ['sass']
}
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default',['watch']);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment