K
K
Kirill Ushakov2018-11-15 14:20:54
Regular Expressions
Kirill Ushakov, 2018-11-15 14:20:54

gulp watch. Exclude certain files?

The code:

gulp.task('watch',  () => {
        watch(['./dev/pug/**/*'], () => gulp.start('pug'));
    }
)

Essence. How to exclude files containing "copy" in the name from the handler?
index - copy of.pug
index - copy of (2).pug
index - copy of (3).pug

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question