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

cmd/govim: remove one of the file watchers #819

Merged
merged 1 commit into from
Mar 11, 2020

Conversation

leitzler
Copy link
Member

There are currently two file watchers being started, one in Init(...)
and one in startGopls(...). This leads to duplicate
DidChangeWatchedFiles calls to gopls.

Remove one of them, as well as a dated comment about this being a
temporary fix.

This change also removes a field "files" (on the modwatcher struct)
that isn't used anymore.

There are currently two file watchers being started, one in Init(...)
and one in startGopls(...). This leads to duplicate
DidChangeWatchedFiles calls to gopls.

Remove one of them, as well as a dated comment about this being a
temporary fix.

This change also removes a field "files" (on the modwatcher struct)
that isn't used anymore.
@leitzler leitzler requested a review from myitcv March 11, 2020 12:45
Copy link
Member

@myitcv myitcv left a comment

Choose a reason for hiding this comment

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

LGTM

@leitzler leitzler merged commit 907afa7 into master Mar 11, 2020
@leitzler leitzler deleted the cmd_govim_single_watcher branch March 11, 2020 16:39
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.

2 participants