()
| 6811 | : compileTargets(runOptions.invalidates, optimistic) |
| 6812 | // Open streams need explicit invalidation; a patch alone doesn't reopen them. |
| 6813 | const reopened = (): Set<Entry> => { |
| 6814 | const hit = resolve(targets) |
| 6815 | if (declared === targets) return hit |
| 6816 | for (const entry of hit) { |
| 6817 | if ( |
| 6818 | entry.live !== undefined && |
| 6819 | !targetsHit(declared, entry.def.name, entry.def.tags, entry.argsKey) |
| 6820 | ) hit.delete(entry) |
| 6821 | } |
| 6822 | return hit |
| 6823 | } |
| 6824 | // A patch over an entry with no Success isn't registered, silently. |
| 6825 | const planned: Array<{ readonly entry: Entry; readonly patch: Patch }> = [] |
| 6826 | for (const patch of optimistic) { |
no test coverage detected