accountant-ui/grunt-config/watch.js

44 lines
1.0 KiB
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-01-29 13:42:25 +01:00
bower: {
files: 'bower.json',
tasks: ['wiredep']
},
2015-06-13 17:37:35 +02:00
js: {
2016-02-17 08:33:58 +01:00
files: [
2016-02-17 09:52:13 +01:00
'<%= accountant.frontend.src %>/js/*.js %>',
2016-02-17 08:33:58 +01:00
'grunt-config/*.js'
],
2016-02-01 21:56:49 +01:00
tasks: ['jsdev']
},
py: {
files: 'accountant/**/*.py',
2016-02-19 18:06:24 +01:00
tasks: ['pydev', 'bgShell:runserver']
2016-02-01 21:56:49 +01:00
},
html: {
files: [
2016-02-17 09:52:13 +01:00
'<%= accountant.frontend.src %>/*.html',
'<%= accountant.frontend.src %>/views/*.html'
2016-02-01 21:56:49 +01:00
],
tasks: ['htmldev']
2016-01-29 13:42:25 +01:00
},
gruntfile: {
2016-02-17 08:33:58 +01:00
files: ['Gruntfile.js', 'grunt-config/*.js']
2016-01-29 14:02:55 +01:00
},
livereload: {
2016-10-09 20:33:59 +02:00
options: {
livereload: '<%= connect.options.livereload %>'
},
files: [
'<%= accountant.frontend.src %>/{,*/}*.html',
'<%= accountant.frontend.src %>/js/*.js',
'<%= accountant.frontend.src %>/css/*.css'
]
},
2016-01-29 14:02:55 +01:00
requirements: {
files: ['requirements.txt'],
2016-10-09 20:33:59 +02:00
tasks: ['shell:pipInstall']
2015-06-13 17:37:35 +02:00
}
};