Skip to content

Instantly share code, notes, and snippets.

@StyxOfDynamite
Created May 6, 2014 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StyxOfDynamite/70cac9c4fab9492bd720 to your computer and use it in GitHub Desktop.
Save StyxOfDynamite/70cac9c4fab9492bd720 to your computer and use it in GitHub Desktop.
Simple Gruntfile.js
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
sass: {
dist: {
files: {
'style/style.css' : 'sass/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