yarn browser-sync 2.8.1

latest releases: 3.0.2, 3.0.1, 3.0.0...
8 years ago

bug-fix release.

For the longest time, trying to use Browsersync to proxy your existing server setup or live website has worked extremely well - unless your app also uses web-sockets (Browsersync uses web sockets internally to communicate with browsers).

Now though, I'm pleased to announce this problem is resolved - all you need to do is provide the following configuration if using the api/grunt/gulp etc

bs.init({
    proxy: {
        target: "https://yourawesomeapp.dev",
        ws: true
    }
});

or on the command line:

browser-sync start --proxy "https://yourawesomeapp.dev" --ws

Now your web-socket enabled apps can also run perfectly well through Browsersync. Enjoy :)

Don't miss a new browser-sync release

NewReleases is sending notifications on new releases.