laravel-browser-sync
v0.0.1
Published
Simple Browser Sync Task for Laravel's Elixir
Downloads
7
Readme
laravel-browser-sync
Install
$ npm install laravel-browser-sync --save-dev
Usage
var elixir = require('laravel-elixir');
require('laravel-browser-sync');
elixir(function(mix) {
mix.sass('app.scss');
mix.browserify('app.js');
mix.browserSync({
'js': [
'public/**/*.js',
],
'css': [
'public/**/*.css',
],
'views': [
'resources/views/**/*'
]
}, {
proxy: 'homestead.app',
reloadDelay: 1000,
reloadOnRestart: false,
open: false
});
});
$ gulp watch