V
V
vasIvas2015-02-25 23:30:26
JavaScript
vasIvas, 2015-02-25 23:30:26

How to make gulp.watch see the newly created file?

I put monitoring of the directory in which the files for the compiler are located.
I create a new file, but I can't compile it, because for this I need to
run a directory scan, which occurs after saving
the file. But when saving the file, nothing happens due to the newly
created file not being observed. You have to open a file that
is under surveillance and save it to start the process of scanning
the directory. And it's stressful. Therefore, if anyone has seen a plugin to eliminate
this misunderstanding, please share its name.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey B., 2015-02-25
@vasIvas

I don’t remember now, but it seems to be a bug, it seems like it was fixed, try updating node.js. At least my default watch sees all new files and quietly updates.
If the problem persists, try the gulp-watch plugin

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question