Add requirements.txt file watching.

This commit is contained in:
Alexis Lahouze 2016-01-29 14:02:55 +01:00
parent aa4e2d9d6f
commit be6240e9ea
2 changed files with 7 additions and 0 deletions

View File

@ -4,5 +4,8 @@ module.exports = {
}, },
bower_install: { bower_install: {
command: 'bower install' command: 'bower install'
},
pip_install: {
command: 'pip install --upgrade --requirement requirements.txt'
} }
}; };

View File

@ -9,5 +9,9 @@ module.exports = {
}, },
gruntfile: { gruntfile: {
files: ['Gruntfile.js'] files: ['Gruntfile.js']
},
requirements: {
files: ['requirements.txt'],
tasks: ['shell:pip_install']
} }
}; };