diff --git a/grunt-config/bgShell.js b/grunt-config/bgShell.js index e9f3644..cb757cd 100644 --- a/grunt-config/bgShell.js +++ b/grunt-config/bgShell.js @@ -1,6 +1,7 @@ module.exports = { runserver: { - cmd: 'python -m manage runserver', + cmd: 'python -m manage runserver -d -r', + fail: true, bg: true } }; diff --git a/grunt-config/watch.js b/grunt-config/watch.js index f880e65..8f4cc90 100644 --- a/grunt-config/watch.js +++ b/grunt-config/watch.js @@ -14,7 +14,7 @@ module.exports = { }, py: { files: 'accountant/**/*.py', - tasks: ['pydev'] + tasks: ['pydev', 'bgShell:runserver'] }, html: { files: [