You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an issue with resume/suspend flow of webpack Watching. In an edge case (described below) webpack drops some of the aggregated changes and they are not included in the compilation result.
If the current behavior is a bug, please provide the steps to reproduce.
All of the following conditions must be met to reproduce it:
resume is called between changed (invalid) and aggregated watchpack events
empty compilation caused by resume is finished before aggregated event fires
I've opened a PR with a failing test to demonstrate it: #12881
It is easier to reproduce this with higher aggregation timeout but we've seen this in Gatsby in the real-world projects with default timeout as well (just harder to reproduce).
What is the expected behavior?
Resumed compilation should include all aggregated changes.
Other relevant information:
webpack version: latest
Node.js version: 12.20.0
Operating System: Windows
Additional tools: Jest? 😄
The text was updated successfully, but these errors were encountered:
Bug report
What is the current behavior?
This is an issue with
resume
/suspend
flow of webpack Watching. In an edge case (described below) webpack drops some of the aggregated changes and they are not included in the compilation result.If the current behavior is a bug, please provide the steps to reproduce.
All of the following conditions must be met to reproduce it:
resume
is called betweenchanged
(invalid
) andaggregated
watchpack eventsresume
is finished beforeaggregated
event firesI've opened a PR with a failing test to demonstrate it: #12881
It is easier to reproduce this with higher aggregation timeout but we've seen this in Gatsby in the real-world projects with default timeout as well (just harder to reproduce).
What is the expected behavior?
Resumed compilation should include all aggregated changes.
Other relevant information:
webpack version: latest
Node.js version: 12.20.0
Operating System: Windows
Additional tools: Jest? 😄
The text was updated successfully, but these errors were encountered: