From 43e4021e2c62e26d9ab2828df73bb45c64957b10 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Fri, 19 Feb 2016 18:06:24 +0100 Subject: [PATCH] Improve server starting. --- grunt-config/bgShell.js | 3 ++- grunt-config/watch.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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: [