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

fswatch is horribly slow on setting up inotify #321

Open
cryptomilk opened this issue Apr 18, 2024 · 0 comments
Open

fswatch is horribly slow on setting up inotify #321

cryptomilk opened this issue Apr 18, 2024 · 0 comments

Comments

@cryptomilk
Copy link

neovim tired to improve the watchfunc for lsp servers and used fswatch. However fswatch is horribly slow on set up.

Doing the following in the Samba source code

fswatch --event=Created --event=Removed --event=Updated --event=Renamed --event-flags --recursive

takes ~90sec to just set up inotify before I get any notifications!

In comparison:

inotifywait --event modify --event create --event delete --monitor --rescursive

needs less than 1 second to set up and get notifications!

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

No branches or pull requests

1 participant