0

I am working with Gulp and it always opens my default browser on serve. Am I able to define the browser I would like to use or several browsers?

Daniel Olszewski
  • 13,995
  • 6
  • 58
  • 65
n00n
  • 654
  • 1
  • 10
  • 30

1 Answers1

2

can be done on creating a gulp task:

gulp.task('serve:windows', ['typescripts', 'watch'], function ()
{
   browserSyncInit([path.join(conf.paths.tmp, '/serve'), conf.paths.src],["google chrome", "firefox", "opera", "iexplore"]);
});

now you can call it like this: gulp serve:windows

It will start several browsers....

n00n
  • 654
  • 1
  • 10
  • 30