Va1 / browser-sync-webpack-plugin

Easily use BrowserSync in your Webpack project.
MIT License
369 stars 40 forks source link

Open Browser to 127.0.0.1 instead of localhost #52

Closed mtpultz closed 6 years ago

mtpultz commented 7 years ago

Using the configuration below is it possible to have browser-sync open the browser to the host and port instead of defaulting to localhost and port. A few of our projects have OAuth set to be 127.0.0.1 so we can't use localhost to authenticate.

new BrowserSyncPlugin(
  {
    host: 'http://127.0.0.1',
    port: 8888,
    proxy: 'http://127.0.0.1:8080'
  }
)
Va1 commented 6 years ago

hi @mtpultz . these options are BrowserSync options and being passed directly to it's instance, so problems with them are out of scope of this project and you should open an issue for the BrowserSync repository. thanks