Customize laravel elexir livereload

I need to perform after mix.less (‘app.less’) automatically reloads the page. What would not press each time F5
gulpfile.js

var elixir = require('laravel-elixir');

/*
 |--------------------------------------------------------------------------
 | Elixir Asset Management
 |--------------------------------------------------------------------------
 |
 | Elixir provides a clean, fluent API for defining some basic Gulp tasks
 | for your Laravel application. By default, we are compiling the Less
 | file for our application, as well as publishing vendor resources.
 |
 */



elixir(function(mix) {
    mix.less('app.less');
    mix.copy('resources/assets/vendor/bootstrap-switch/dist', 'public/packages/bootstrap-switch');
});

Is it possible to use it as a gulp browser-sync ?


Source: laravel

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.