$ composer global require "laravel/homestead=~2.0"
$ homestead init
$ homestead edit
$ npm install laravel-elixir-browser-sync@0.1.7 --save-dev
$ npm install laravel-elixir-browser-sync@beta --save-dev
var elixir = require('laravel-elixir');
require('laravel-elixir-browser-sync');
elixir(function(mix) {
mix.browserSync([
'app/**/*',
'public/**/*',
'resources/views/**/*'
], {
proxy: 'homestead.app',
reloadDelay: 2000
});
});
$ homestead up
$ gulp watch
$ homestead up
$ gulp serve watch