I'm on L5, using laravel-elixir and it mysteriously works sometimes but most of the time it doesn't. Gulp is detecting file changes but the new files are unchanged.
Here's my gulpfile.js:
process.env.DISABLE_NOTIFIER = true;
var elixir = require('laravel-elixir');
elixir(function(mix) {
mix.less('admin.less')
.less('app.less')
.scripts([
'vendor/isotope/dist/isotope.pkgd.min.js',
'js/jQuery.neatDataTables.js',
'vendor/transparency/dist/transparency.min.js',
'js/app.js',
], 'public/js/app.js', 'resources/assets');
});
And this directory structure:
Basically, it sometimes works and sometimes it doesn't. It's really frustrating.
I've tried running gulp
and gulp watch
and here is what it outputs:
If I change the gulpfile to this though:
elixir.function(mix) {
mix.less('admin.less');
}
it seems to work flawlessly.