chokidar
chokidar copied to clipboard
Node fs native recursive on Linux
Since a while, the fs module of node directly supports recursive also for Linux. How do you handle the case when the OS supports recursive?
For example, depth
and ignored
are not supported. Do you use the recursive fs.watch
under Linux, and filter out the events coming in, or do you fall back to setting up watches manually for each file/directory? (I tried to figure out the code but did not have enough time yet)
I guess the former is quicker at initialization but uses up much more inotifywait listeners, right?
we did not upgrade to recursive fs.watch.