Skip to content

Instantly share code, notes, and snippets.

@wbond
Created April 8, 2013 15:19
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 wbond/5337600 to your computer and use it in GitHub Desktop.
Save wbond/5337600 to your computer and use it in GitHub Desktop.
My gruntfile that is resulting in really slow SCSS compiles
module.exports = function(grunt) {
grunt.initConfig({
coffee: {
glob_to_multiple: {
expand: true,
cwd: 'javascripts',
src: ['*.coffee'],
dest: 'javascripts/',
ext: '.js'
}
},
sass: {
glob_to_multiple: {
expand: true,
cwd: 'stylesheets',
src: ['*.scss'],
dest: 'stylesheets/',
ext: '.css'
}
},
watch: {
coffee: {
files: ['javascripts/*.coffee'],
tasks: ['coffee']
},
sass: {
files: ['stylesheets/*.scss'],
tasks: ['sass']
}
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-coffee');
grunt.loadNpmTasks('grunt-contrib-watch');
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment