-
Notifications
You must be signed in to change notification settings - Fork 330
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
Comments
cryptomilk
added a commit
to cryptomilk/neovim
that referenced
this issue
Jun 17, 2024
This patch replaces fswatch with inotifywait from inotify-toools: https://github.com/inotify-tools/inotify-tools fswatch takes ~1min to set up recursively for the Samba source code directory. inotifywait needs less than a second to do the same thing. emcrisostomo/fswatch#321 Also it fswatch seems to be unmaintained in the meantime. Signed-off-by: Andreas Schneider <[email protected]>
cryptomilk
added a commit
to cryptomilk/neovim
that referenced
this issue
Jun 17, 2024
This patch replaces fswatch with inotifywait from inotify-toools: https://github.com/inotify-tools/inotify-tools fswatch takes ~1min to set up recursively for the Samba source code directory. inotifywait needs less than a second to do the same thing. emcrisostomo/fswatch#321 Also it fswatch seems to be unmaintained in the meantime. Signed-off-by: Andreas Schneider <[email protected]>
cryptomilk
added a commit
to cryptomilk/neovim
that referenced
this issue
Jun 17, 2024
This patch replaces fswatch with inotifywait from inotify-toools: https://github.com/inotify-tools/inotify-tools fswatch takes ~1min to set up recursively for the Samba source code directory. inotifywait needs less than a second to do the same thing. emcrisostomo/fswatch#321 Also it fswatch seems to be unmaintained in the meantime. Signed-off-by: Andreas Schneider <[email protected]>
cryptomilk
added a commit
to cryptomilk/neovim
that referenced
this issue
Jun 18, 2024
This patch replaces fswatch with inotifywait from inotify-toools: https://github.com/inotify-tools/inotify-tools fswatch takes ~1min to set up recursively for the Samba source code directory. inotifywait needs less than a second to do the same thing. emcrisostomo/fswatch#321 Also it fswatch seems to be unmaintained in the meantime. Signed-off-by: Andreas Schneider <[email protected]>
cryptomilk
added a commit
to cryptomilk/neovim
that referenced
this issue
Jun 18, 2024
This patch replaces fswatch with inotifywait from inotify-toools: https://github.com/inotify-tools/inotify-tools fswatch takes ~1min to set up recursively for the Samba source code directory. inotifywait needs less than a second to do the same thing. emcrisostomo/fswatch#321 Also it fswatch seems to be unmaintained in the meantime. Signed-off-by: Andreas Schneider <[email protected]>
cryptomilk
added a commit
to cryptomilk/neovim
that referenced
this issue
Jun 18, 2024
This patch replaces fswatch with inotifywait from inotify-toools: https://github.com/inotify-tools/inotify-tools fswatch takes ~1min to set up recursively for the Samba source code directory. inotifywait needs less than a second to do the same thing. emcrisostomo/fswatch#321 Also it fswatch seems to be unmaintained in the meantime. Signed-off-by: Andreas Schneider <[email protected]>
cryptomilk
added a commit
to cryptomilk/neovim
that referenced
this issue
Jun 20, 2024
This patch replaces fswatch with inotifywait from inotify-toools: https://github.com/inotify-tools/inotify-tools fswatch takes ~1min to set up recursively for the Samba source code directory. inotifywait needs less than a second to do the same thing. emcrisostomo/fswatch#321 Also it fswatch seems to be unmaintained in the meantime. Signed-off-by: Andreas Schneider <[email protected]>
cryptomilk
added a commit
to cryptomilk/neovim
that referenced
this issue
Jun 20, 2024
This patch replaces fswatch with inotifywait from inotify-toools: https://github.com/inotify-tools/inotify-tools fswatch takes ~1min to set up recursively for the Samba source code directory. inotifywait needs less than a second to do the same thing. emcrisostomo/fswatch#321 Also it fswatch seems to be unmaintained in the meantime. Signed-off-by: Andreas Schneider <[email protected]>
mfussenegger
pushed a commit
to neovim/neovim
that referenced
this issue
Jul 6, 2024
This patch replaces fswatch with inotifywait from inotify-toools: https://github.com/inotify-tools/inotify-tools fswatch takes ~1min to set up recursively for the Samba source code directory. inotifywait needs less than a second to do the same thing. emcrisostomo/fswatch#321 Also it fswatch seems to be unmaintained in the meantime. Signed-off-by: Andreas Schneider <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
takes ~90sec to just set up inotify before I get any notifications!
In comparison:
needs less than 1 second to set up and get notifications!
The text was updated successfully, but these errors were encountered: