We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Do you think it'd be both A) possible and B) worth it to use https://github.com/luvit/luv/blob/master/docs.md#uv_fs_event_t--fs-event-handle instead of polling the git directory for changes?
The libuv bindings all works for me on macOS, haven't tried on a linux yet, but the docs seem to say that they make it work for every platform
local fse = vim.loop.new_fs_event() local path = vim.fn.expand("%:p") vim.loop.fs_event_start(fse, path, {}, function(err, filename, events) vim.notify(vim.inspect(err) .. vim.inspect(filename) .. vim.inspect(events)) end)
The text was updated successfully, but these errors were encountered:
I initially tried fs events, however I found they were causing 100% CPU utilisation on my Mac.
This was over a year a go so libuv may have fixed this issue by now, but will need to check.
libuv
Sorry, something went wrong.
Oooo exciting :)
Successfully merging a pull request may close this issue.
Do you think it'd be both A) possible and B) worth it to use https://github.com/luvit/luv/blob/master/docs.md#uv_fs_event_t--fs-event-handle instead of polling the git directory for changes?
The libuv bindings all works for me on macOS, haven't tried on a linux yet, but the docs seem to say that they make it work for every platform
The text was updated successfully, but these errors were encountered: