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.
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Senior Software Engineer - LAMP/PHP/MySQL/Laravel
Los Angeles / Remote
- Senior PHP/Laravel Developer: Your Dream Work Environment
iPhone Photography School
- In-house Laravel Developer.
Gold Coast / Australia
- Laravel Developer
Oak Brook, IL
- Senior Backend Engineer
Santa Monica only
- Senior Laravel Developer
- Senior Software Developer
South Jordan, UT
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…