Thanks to visit codestin.com
Credit goes to github.com

Skip to content

File-watcher listening on gitignored files on Linux #438

@altsem

Description

@altsem

Originally posted by @altsem in #437 (comment)

The file-watcher utilizes inotify on Linux, using the "notify" crate.
Afaik, this implementation needs to traverse the entire file tree and register a listener on each file.
Then whenever a change is detected, it passes through the filter we've written to check whether it should be ignored or not.

The problem is that just registering these listeners on each file takes a significant amount of time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions