Skip to content

Recursive fs.watch for linux #36005

Description

@fabiospampinato

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fsIssues and PRs related to file-system APIs and the fs module.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions