T
T
Test2017-06-22 16:03:30
Node.js
Test, 2017-06-22 16:03:30

How to attach gulp watch to all files in subfolders?

I use gulp and the following construction But actions are performed only on files in the root directory, but not on subfolders. How to set a path so that gulp watch will respond to all files in the root directory and subfolders?
gulp.watch('./*',function(e) {

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Eremin, 2017-06-22
@fedor_dev

./**/*.*
?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question