Skip to content

Fix fs watchers not being removed#46036

Closed
AdamJedl wants to merge 4 commits intozed-industries:mainfrom
AdamJedl:fix-fs-watcher
Closed

Fix fs watchers not being removed#46036
AdamJedl wants to merge 4 commits intozed-industries:mainfrom
AdamJedl:fix-fs-watcher

Conversation

@AdamJedl
Copy link
Copy Markdown
Contributor

@AdamJedl AdamJedl commented Jan 4, 2026

When a folder is created then deleted and then created again it was logging "path to watch is already watched".
Edit the remove function in fs_watcher.rs so it removes all watchers in subfolders.
Added 2 tests

Should help #38109

Release Notes:

  • Fixed fs watchers not being removed

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Jan 4, 2026
@maxdeviant maxdeviant changed the title fix fs watchers not being removed Fix fs watchers not being removed Jan 4, 2026
@Veykril Veykril requested a review from localcc January 5, 2026 10:45
@probably-neb
Copy link
Copy Markdown
Collaborator

Hey @AdamJedl, thanks for trying to fix this, I'm going to merge #50412 as It's a bit simpler of a solution, and passes your tests as well.

Separately - Thanks for your help linking all of the separate PRs that were made to fix the issue, I would have had no idea there were other PRs just looking at the one I was assigned.

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

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants