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

Disable config file watcher if a hot-reload server capability is set #161

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

sam-mccall
Copy link
Member

Corresponds to https://reviews.llvm.org/D94222

Required complicating the code a bit as we need to do this conditional on ServerCapabilities, which in turn requires using a Feature. Moved it out into a separate file accordingly.

I've tested this locally with clangd with/without the capability.

Corresponds to https://reviews.llvm.org/D94222

I've tested this locally with clangd with/without the capability.
Copy link
Member

@kadircet kadircet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fannheyward fannheyward merged commit 8cf9d08 into master Jan 8, 2021
@fannheyward fannheyward deleted the reload branch January 8, 2021 03:14
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

Successfully merging this pull request may close these issues.

3 participants