grafana/tasks/options/watch.js
2015-09-10 11:26:40 +02:00

29 lines
522 B
JavaScript

module.exports = function(config) {
return {
css: {
files: [ '<%= srcDir %>/less/**/*.less' ],
tasks: ['css'],
options: {
spawn: false
}
},
copy_to_gen: {
files: ['<%= srcDir %>/**/*', '!<%= srcDir %>/**/*.less'],
tasks: ['copy:everything_but_less'],
options: {
spawn: false
}
},
typescript: {
files: ['<%= srcDir %>/app/**/*.ts'],
tasks: ['typescript:build'],
options: {
spawn: false
}
}
};
};