Answer the question
In order to leave comments, you need to log in
How to open browser sync through chrome?
I want browser sync to open the page not through firefox, but through google chrome when starting the gallp. The documentation says to add the parameter browser: 'google chrome'.
Browser sync itself starts, but Google does not want to open it.
Here's what it outputs:
[Browsersync] Couldn't open browser (if you are using BrowserSync in a headless environment, you might want to set the open option to false)
gulp.task('brow', function() {
brow.init({
server: {
baseDir: 'app'
},
browser: 'google chrome',
notify: false
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question