Fix flask invokaction from grunt.

This commit is contained in:
Alexis Lahouze 2016-06-17 10:54:02 +02:00
parent f8a71af4d8
commit f09ba377b5

View File

@ -1,6 +1,15 @@
var extend = require('util')._extend;
module.exports = {
runserver: {
cmd: 'python -m manage runserver -d -r',
cmd: 'flask run',
execOpts: {
cwd: '.',
env: extend(process.env, {
FLASK_APP: 'accountant/__init__.py',
FLASK_DEBUG: '1'
})
},
fail: true,
bg: true
}