Stop browsersync automatically opening

Annoying focus stealing be gone
This commit is contained in:
2021-02-06 00:45:23 +00:00
parent ccda38918c
commit 656f9fdd25

View File

@@ -64,6 +64,8 @@ function browserSync(done) {
spawn('python', ['manage.py', 'runserver'], {stdio: 'inherit'}); spawn('python', ['manage.py', 'runserver'], {stdio: 'inherit'});
// TODO Wait for Django server to come up before browsersync, it seems inconsistent // TODO Wait for Django server to come up before browsersync, it seems inconsistent
browsersync.init({ browsersync.init({
notify: false,
open: false,
port: 8001, port: 8001,
proxy: 'localhost:8000' proxy: 'localhost:8000'
}); });