We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87dd406 + fa32cbc commit 4220b7fCopy full SHA for 4220b7f
Sources/SemanticIndex/SemanticIndexManager.swift
@@ -379,7 +379,7 @@ package final actor SemanticIndexManager {
379
package func filesDidChange(_ events: [FileEvent]) async {
380
// We only re-index the files that were changed and don't re-index any of their dependencies. See the
381
// `Documentation/Files_To_Reindex.md` file.
382
- let changedFiles = events.map(\.uri)
+ let changedFiles = events.filter { $0.type != .deleted }.map(\.uri)
383
await indexStoreUpToDateTracker.markOutOfDate(changedFiles)
384
385
// Preparation tracking should be per file. For now consider any non-known-language change as having to re-prepare
0 commit comments