Answer the question
In order to leave comments, you need to log in
How to select files in gulp by the occurrence of characters in the filename?
Good afternoon. There is a set of files scattered in different folders, which are combined by a prefix of the same characters at the beginning. You need to hang on them yesterday. Accordingly, the task is to select all these files. How can I do that?
Answer the question
In order to leave comments, you need to log in
gulp.task('watch', function() {
gulp.watch('folder/**/prefix__*.js', browserSync.reload);
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question