Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(newsigv4): persists the watch event beyond the first instance #7

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

tanuck
Copy link

@tanuck tanuck commented Jan 9, 2025

Inotify works on watching specific inodes, the current
implementation proved brittle if the process mutating
the watched file does so by created a new file and then
renaming. This action causes the file under the same
path to change contents and exist with a new inode.
Instead we watch the parent directory and filter incoming
events by filename.

Inotify works on watching specific inodes, the current
implementation proved brittle if the process mutating
the watched file does so by created a new file and then
renaming. This action causes the file under the same
path to change contents and exist with a new inode.
Instead we watch the parent directory and filter incoming
events by filename.
@tanuck tanuck self-assigned this Jan 9, 2025
@tanuck tanuck requested a review from danmrichards January 9, 2025 11:08
@tanuck tanuck marked this pull request as ready for review January 9, 2025 11:09
Copy link
Collaborator

@danmrichards danmrichards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@tanuck tanuck merged commit 6882e63 into main Jan 9, 2025
10 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants