Answer the question
In order to leave comments, you need to log in
How to reload only one file in gulp that has changed?
What plugin are you using for this? And does it make sense?
I use gulp-livereload and gulp-cssmin, since there are several css files (like owl-carousel themes, etc), why reload/rebuild them every time?
Answer the question
In order to leave comments, you need to log in
https://www.npmjs.com/package/gulp-changed for an example. Why use gulp-cssmin in development at all? It's easier to run this task once before uploading it to the server, or before handing over the customer and that's it. And so every time you perform an unnecessary, in fact, task.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question