Laravel Elixir BrowserSync
Install
If you use Laravel Elixir Version Below "^3.0.0". Follow this link
If you use Laravel Elixir Version "^3.0.0".
$ npm install laravel-elixir-browsersync2 --save-dev
Usage
This is a simple wrapper around Laravel Elixir. Add it to your Elixir-enhanced Gulpfile. You need using Homestead, and configure your virtual machine and the domain homestead.app
, like so:
var elixir = ;var BrowserSync = ; ;
The second use is passing options to BrowserSync, acording the documentation of BrowserSync.io, like the next example:
var elixir = ;var BrowserSync = ; ;