Caret/Gruntfile.js
Thomas Wilburn 080166d254 .
2013-08-21 23:35:47 -07:00

29 lines
No EOL
518 B
JavaScript

module.exports = function(grunt) {
//need to install less and watch modules
grunt.loadNpmTasks("grunt-contrib-less");
grunt.loadNpmTasks("grunt-contrib-watch");
grunt.initConfig({
less: {
all: {
files: {
"css/editor.css": "css/editor.less"
}
}
},
watch: {
css: {
files: ["css/*.less"],
tasks: ["less"]
},
options: {
spawn: false
}
}
});
grunt.registerTask("default", ["less", "watch"]);
};