Good afternoon. How can I avoid using 50% of my cpu when using gulp watch with webpack or browserify in Laravel? : / addition browserSync is not working, the pages are not updated and there are errors in the chrome console.
elixir(function(mix) {
//mix.browserSync();
mix.copy(
'node_modules/bootstrap-sass/assets/javascripts/bootstrap.js',
'resources/assets/js/elixir_copy_cache')
.copy(
'node_modules/sweetalert/dist/sweetalert-dev.js',
'resources/assets/js/elixir_copy_cache')
.copy(
'node_modules/materialize-css/dist/js/materialize.js',
'resources/assets/js/elixir_copy_cache');
mix.sass('app.scss');
mix.webpack([
'app.js',
'articles.js'
]);
});