Skip to content

Conversation

sxyazi
Copy link
Owner

@sxyazi sxyazi commented Apr 4, 2024

The file watcher of Yazi uses notify-rs/notify, which involves some synchronous I/O operations when watching and unwatching to directories, such as checking if the directory exists and normalizing the directory path.

This could cause lag when switching directories, especially when the user is using a slow device (such as an external HDD). This PR addresses this issue.

@sxyazi sxyazi merged commit 1b910dd into main Apr 5, 2024
@sxyazi sxyazi deleted the pr-45a1f07d branch April 5, 2024 09:47
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant