-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Description
Is your feature request related to a problem? Please describe.
File system watching is a core part of many kinds of node apps, currently fs.watch
is close to providing everything needed for watching files and directories easily, but not supporting recursive watching under Linux is a deal breaker.
Describe the solution you'd like
The recursive
option of fs.watch
should be supported under Linux too.
Describe alternatives you've considered
There are no great alternatives really, file system watching is a mess and Node should handle it reliably, the only other option is to use a third-party filesystem watcher or write one, all the ones I've tried are either unreliable in some way, come with a big performance downside under some scenarios, or rely on some native dependency that's a pain to work with for cross-platform apps.
If this issue is a duplicate I couldn't find the original one.