accountant-ui/grunt-config/watch.js

37 lines
741 B
JavaScript
Raw Normal View History

2016-02-17 08:33:58 +01:00
'use strict';
2015-06-13 17:37:35 +02:00
module.exports = {
2016-10-15 12:50:57 +02:00
// Toolchain
npm: {
files: ['package.json'],
2016-10-15 13:09:17 +02:00
tasks: ['npm']
2016-01-29 13:42:25 +01:00
},
2016-10-15 12:50:57 +02:00
grunt: {
files: ['Gruntfile.js', 'grunt-config/*.js'],
tasks: ['grunt']
2016-02-01 21:56:49 +01:00
},
2016-10-15 12:50:57 +02:00
// Backend
requirements: {
files: ['requirements.txt'],
tasks: ['beDeps']
2016-02-01 21:56:49 +01:00
},
2016-10-15 12:50:57 +02:00
be: {
files: 'accountant/{,**}/*.py',
tasks: ['beLint', 'bgShell:runserver']
2016-01-29 13:42:25 +01:00
},
2016-10-15 12:50:57 +02:00
// Frontend
bower: {
files: 'bower.json',
tasks: ['feDeps']
2016-01-29 14:02:55 +01:00
},
2016-10-15 12:50:57 +02:00
fe: {
2016-10-09 20:33:59 +02:00
options: {
livereload: '<%= connect.options.livereload %>'
},
files: [
2016-10-15 12:50:57 +02:00
'<%= accountant.frontend.src %>/{,**}/*',
],
tasks: ['feLint']
2015-06-13 17:37:35 +02:00
}
};