Skip to content

avoid double rebuilds for FOIs#2266

Merged
mergify[bot] merged 1 commit into
masterfrom
double-rebuilds
Oct 9, 2021
Merged

avoid double rebuilds for FOIs#2266
mergify[bot] merged 1 commit into
masterfrom
double-rebuilds

Conversation

@pepeiborra

@pepeiborra pepeiborra commented Oct 9, 2021

Copy link
Copy Markdown
Collaborator

With VSCode I get a WatchedFile notification immediately after of the TextDocumentDidChange notification, triggering a second rebuild unnecessarily.

To avoid this, let's filter out WatchedFile events for files of interest

With VSCode I get a WatchedFile notification immediately after of the TextDocumentDidChange notification, triggering a second rebuild unnecessarily

@jneira jneira left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

many thanks for the optimization

@pepeiborra pepeiborra added the merge me Label to trigger pull request merge label Oct 9, 2021
@mergify
mergify Bot merged commit 514a7eb into master Oct 9, 2021
sdzx-1 pushed a commit to sdzx-1/haskell-language-server that referenced this pull request Oct 11, 2021
With VSCode I get a WatchedFile notification immediately after of the TextDocumentDidChange notification, triggering a second rebuild unnecessarily
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge me Label to trigger pull request merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants