Laravel Elixir 3.3 now includes support for Browsersync which is a way to get real-time browser feedback based on your changes. For example if you change your style sheet or a view file, the browser automatically reloads showing you the results.
Here is how the Browsersync project describes it:
With each web page, device and browser, testing time grows exponentially. From live reloads to URL pushing, form replication to click mirroring, Browsersync cuts out repetitive manual tasks. It’s like an extra pair of hands.Customise an array of sync settings from the UI or command line to create a personalised test environment. Need more control? Browsersync is easily integrated with your web platform, build tools and other Node.js projects.
To show you how to use this check out the latest Laracast with the announcement and demonstration. Another nice advantage you will see in the video is this works with Homestead. So you can still keep everything on your VM but still get the live updating. Although does appear to be a little slower.Filed in: News / Elixir
Join 31,000+ others and never miss out on new tips, tutorials, and more.
Learn to use Model Factories in Laravel
Laravel 5.1 comes with a feature called model factories that are designed to allow you to quickly build out “fake” mo…
Homestead now with PHP 7 support
Laravel Homestead just received a new update with support for PHP 7 which is due out this month. If you are already u…