08 October 2014

It’s weird that not many people searching for this question: How can I choose other browser than the default one to open the served page?

I found only one here.

Although this has been addressed by grunt-contrib-connect, but obviously there is a mistake in README that they put it to wrong place: instead of under connect.options, it’s actually under connect.livereload.options.

connect: {
      ...
  options: {
    port: 9005,
    // Change this to '0.0.0.0' to access the server from outside.
    hostname: 'localhost',
    livereload: 35729
  },
  livereload: {
    options: {
      open: {
        appName: 'Google Chrome'
      },
    }
  ...
  }
}


blog comments powered by Disqus