grafana/tasks/options/watch.js

29 lines
522 B
JavaScript
Raw Normal View History

module.exports = function(config) {
return {
css: {
2015-09-10 04:26:40 -05:00
files: [ '<%= srcDir %>/less/**/*.less' ],
tasks: ['css'],
options: {
spawn: false
}
},
2015-09-10 04:26:40 -05:00
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
}
}
};
};