Answer the question
In order to leave comments, you need to log in
Gulp lastRun always gives undefined, how to fix?
Actually, I write the following code:
gulp.task('assets', function() {
return gulp.src(sourceDir, {since: gulp.lastRun('assets'), base: repoDir})
.pipe(gulp.dest(publicDir))
})
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