Fix a merge mistake that results in a full reindex on file save (#1960)

In https://github.com/continuedev/continue/pull/1873, the file save
handler was changed to only reindex the single saved file. However, in
the merge commit d0f3209dff the change was
partially reverted and now the entire index is being refreshed on single
file save.

Co-authored-by: Rob Leidle <rleidle@tesla.com>
This commit is contained in:
Rob Leidle 2024-08-07 11:05:03 -07:00 • committed by GitHub
parent c9dfc63b9a
commit 41917ad52b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -259,9 +259,6 @@ export class VsCodeExtension {
const indexer = await this.core.codebaseIndexerPromise;
indexer.refreshFile(filepath);
}
// Reindex the workspaces
this.core.invoke("index/forceReIndex", undefined);
});
// When GitHub sign-in status changes, reload config