T
T
Taverna-MO2018-07-06 19:34:11
css
Taverna-MO, 2018-07-06 19:34:11

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

1 answer(s)
Y
yakupov112, 2018-07-06
@yakupov112

gulp.task('watch',  function() {
  gulp.watch('folder/**/prefix__*.js', browserSync.reload);
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question