L
L
littleguga2015-09-30 14:42:03
Web development
littleguga, 2015-09-30 14:42:03

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

1 answer(s)
K
Kirill Kublyakov, 2015-09-30
@littleguga

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 question

Ask a Question

731 491 924 answers to any question