-
-
Notifications
You must be signed in to change notification settings - Fork 388
Add ability for plugins to handle file change notifications #1588
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be some duplication between the HLS and ghcide side.
Otherwise seems to be what I had before.
f0adfb8
to
85cb54c
Compare
Is this capable of watching arbitrary directories on the filesystem? I wanted such a thing in #524, in order to watch |
No, only workspace folders. Outside the workspace, you would need to implement your own watching |
92e4a85
to
0f22329
Compare
I would need it for hlint config files for #594, maybe it worths to implement it in some common place (hls-plugin-api?) |
Rather than turning HLS into an operating system, I would push back on these feature requests and ask people to reload |
071074e
to
60e36d1
Compare
874c4c2
to
8821bba
Compare
Like pluginHandlers, but for notifications At present the last one in the chain wins, so if one is set it overrides the one built into ghcide
This is required to allow for user defined notification handlers, otherwise HLS plugins will overwrite the ghcide handlers and nothing will work
Co-authored-by: wz1000 <zubin.duggal@gmail.com>
8821bba
to
352272d
Compare
Rebased #1585 and extracted ghcide notification handlers