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

Runtime: gracefully handle weird watcher issue #4254

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

begelundmuller
Copy link
Contributor

Ran into an error where the watcher stopped because Rel received an empty target path:

{"level":"error","ts":1709713441.4184802,"msg":"Stopped watching for file changes","instance_id":"default","error":"watch failed: Rel: can't make  relative to /Users/benjamin/Documents/foo"}

Can't think of anything else that could have caused it than fsnotify emitting an empty event.

@begelundmuller begelundmuller self-assigned this Mar 6, 2024
@begelundmuller begelundmuller merged commit 625d017 into main Mar 6, 2024
6 checks passed
@begelundmuller begelundmuller deleted the begelundmuller/weird-watcher-issue branch March 6, 2024 10:44
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