Reputation: 53546
I am watching an entire folder for file modifications, I want to ignore some of the files. For example, I want to watch all files, but ignore those that start with a period (.
). How do I do that?
Upvotes: 1
Views: 337
Reputation: 24561
I would say something like this should work:
gulp.watch(['css/**/*', '!css/**/.*'], ['styles']);
Upvotes: 3