From 656f9fdd2536c5f2a69c12bcc1a98c349cdb44b7 Mon Sep 17 00:00:00 2001 From: Arona Jones Date: Sat, 6 Feb 2021 00:45:23 +0000 Subject: [PATCH] Stop browsersync automatically opening Annoying focus stealing be gone --- gulpfile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index f503bb87..c663ecf3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -64,6 +64,8 @@ function browserSync(done) { spawn('python', ['manage.py', 'runserver'], {stdio: 'inherit'}); // TODO Wait for Django server to come up before browsersync, it seems inconsistent browsersync.init({ + notify: false, + open: false, port: 8001, proxy: 'localhost:8000' });