accountant-ui/grunt-config/watch.js
Alexis Lahouze 189d76fc22 Fix typo.
2016-10-15 13:09:17 +02:00

37 lines
741 B
JavaScript

'use strict';
module.exports = {
// Toolchain
npm: {
files: ['package.json'],
tasks: ['npm']
},
grunt: {
files: ['Gruntfile.js', 'grunt-config/*.js'],
tasks: ['grunt']
},
// Backend
requirements: {
files: ['requirements.txt'],
tasks: ['beDeps']
},
be: {
files: 'accountant/{,**}/*.py',
tasks: ['beLint', 'bgShell:runserver']
},
// Frontend
bower: {
files: 'bower.json',
tasks: ['feDeps']
},
fe: {
options: {
livereload: '<%= connect.options.livereload %>'
},
files: [
'<%= accountant.frontend.src %>/{,**}/*',
],
tasks: ['feLint']
}
};