Fix flask invokaction from grunt.
This commit is contained in:
parent
f8a71af4d8
commit
f09ba377b5
@ -1,6 +1,15 @@
|
|||||||
|
var extend = require('util')._extend;
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
runserver: {
|
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,
|
fail: true,
|
||||||
bg: true
|
bg: true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user