
laravel
🚀
note2self
🚀
vuejs
🚀
BrowserSync and Laravel
Quick reminder to take advantage of this amazing feature https://laravel.com/docs/5.6/mix#browsersync-reloading
No more reloading your browser.
yarn add browser-sync --dev
then to your webpack.mix.js
e.g. the domain of the site you are working on.
mix.browserSync('foo.test');
finally
yarn run watch
Note turn off sourceMaps when running this else it can be kinda slow