accountant-ui/grunt-config/bgShell.js
2016-06-17 10:54:02 +02:00

17 lines
340 B
JavaScript

var extend = require('util')._extend;
module.exports = {
runserver: {
cmd: 'flask run',
execOpts: {
cwd: '.',
env: extend(process.env, {
FLASK_APP: 'accountant/__init__.py',
FLASK_DEBUG: '1'
})
},
fail: true,
bg: true
}
};