Clean built files or folders.
$ npm install laravel-elixir-clean-unofficial --save-dev
Clean folders: public/css
, public/js
, public/build
.
var elixir = require('laravel-elixir');
require('laravel-elixir-clean-unofficial');
elixir(function(mix) {
mix.clean()
.less('app.less')
.browserify('app.js');
});
Then run tasks:
gulp
Or just clean folders only:
gulp clean
MIT