mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
fix(router-utils): the stale-set drain builds what a compilation's own events did not; the wake bound counts compilations that left the set full
building() takes a compilation's modified paths out of the stale set into a list of its own instead of deleting them; rebuild() builds again those whose modules the compilation did not build (builtModules: webpack with snapshot.module.hash skips a file written again unchanged). Review of step 2, finding 2. compiled(env) at afterDone resets the compiler's count when its set is empty (a wake that did its work), so only compilations that each end with the set still full, without a cause between, count toward the bound of three; when it trips, one warning names the files. Review of step 2, finding 3. Core: StaleSets.paths(env) (read, for the warning). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7d383aa864
commit
eedc8067ad
6 changed files with 163 additions and 46 deletions
Loading…
Add table
Add a link
Reference in a new issue