Skip to content

2.8.1

Compare
Choose a tag to compare
@shakyShane shakyShane released this 29 Jul 07:56
· 693 commits to master since this release

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 :)