Answer the question
In order to leave comments, you need to log in
How can I force gulp to watch files in a directory that starts with a dot?
Greetings!
Gulp.watch does not notice changes to files that are located in directories whose names contain a dot.
In gulp.src it helps to set the dot: true option, but it doesn't help in watch.
const watch = () => {
gulp.watch(
[ "./**/*.scss" ],
{ dot: true },
componentsScss
);
};
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