0351dca Mar 8, 2018
3 contributors

Users who have contributed to this file

@JeffreyWay @knowler @atilacamurca
27 lines (16 sloc) 805 Bytes



BrowserSync will automatically monitor your files for changes, and insert your changes into the browser - all without requiring a manual refresh. You may enable support by calling the mix.browserSync() method, like so:


// Or:

    proxy: 'my-domain.test'

You may pass either a string (proxy) or object (BrowserSync settings) to this method. The domain name you declare as your proxy is vital. This will proxy output from webpack Dev Server through BrowserSync.

Other options can be seen in the Browsersync Documentation.

Now, boot up the dev server (npm run watch), and you're all set go!