EliasSoares
117
3
Mix

Gulp Watch compiling all files

Posted 3 years ago by EliasSoares

I've a project with some css files: login.css, default.css and bootstrap

If I change only default.less file, my gulp compiles all files, not only default.css.

This make the compilation be slow since it's compiling bootstrap too.

My gulp file is this:

elixir(function(mix) {
    mix.less('login.less');
    mix.less('default.less');
    mix.less('vendor/bootstrap/bootstrap.less');
});

elixir(function(mix) {
    mix.version(['css/default.css', 'css/login.css', 'css/bootstrap.css']);
});

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.