Answer the question
In order to leave comments, you need to log in
How to combine gulp-if and gulp-newer in a Gulp task?
How to cross gulp-if and gulp-newer?
gulp-newer has a many-to-one relationship, i.e. I write
gulp.src('source/images/**')
.pipe(newer('css/main.css'))
and I have pictures in the stream, and if the stream is not empty, I need to do the following operation.pipe(urlAdjuster({
append: '?' + Math.floor(Math.random() * Math.pow(10, 6)),
}))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question