Skip to content

Instantly share code, notes, and snippets.

@DevelopIntelligenceBoulder
Created August 25, 2015 07:21
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 DevelopIntelligenceBoulder/d4db8ea30bb5da59975a to your computer and use it in GitHub Desktop.
Save DevelopIntelligenceBoulder/d4db8ea30bb5da59975a to your computer and use it in GitHub Desktop.
module.exports = function(grunt) {
grunt.initConfig({
less: {
build: {
// options: {
// compress: true,
// sourceMap: true
// },
files: {
'src/styles/main.css': 'src/styles/*.less'
}
}
},
watch: {
all: {
files: 'src/**/*'
},
less: {
files: ['src/styles/*.less'],
tasks: ['less']
},
}
}); //initConfig
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.registerTask('default', [
'less',
'watch'
]);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment