Jest 27.4.0 Watch Mode Worker Reuse vs Teardown After Haste Map Leak Fix
Worker lifecycle behavior in watch mode after the Haste map memory leak fix Jest 27.4.0 resolved the unbounded memory growth caused by the Haste map cache retaining references to deleted files during watch mode runs with --maxWorkers > 1. The fix improves cache invalidation in @jest/haste-map and applies automatically when upgrading from 27.3.x. However,