diff --git a/grunt-config/shell.js b/grunt-config/shell.js index 360934e..711f607 100644 --- a/grunt-config/shell.js +++ b/grunt-config/shell.js @@ -4,5 +4,8 @@ module.exports = { }, bower_install: { command: 'bower install' + }, + pip_install: { + command: 'pip install --upgrade --requirement requirements.txt' } }; diff --git a/grunt-config/watch.js b/grunt-config/watch.js index 8f39eee..35208eb 100644 --- a/grunt-config/watch.js +++ b/grunt-config/watch.js @@ -9,5 +9,9 @@ module.exports = { }, gruntfile: { files: ['Gruntfile.js'] + }, + requirements: { + files: ['requirements.txt'], + tasks: ['shell:pip_install'] } };