feat(hot): include the changed file in the building event#2352
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## hot-middleware #2352 +/- ##
==================================================
+ Coverage 93.28% 93.46% +0.18%
==================================================
Files 4 4
Lines 1176 1178 +2
Branches 353 354 +1
==================================================
+ Hits 1097 1101 +4
+ Misses 71 69 -2
Partials 8 8 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The compiler's invalid hook reports which file invalidated the compilation. Forward it as an optional `file` field on the `building` payload and log it in the client, so users can see what triggered a rebuild. Ref webpack/webpack-hot-middleware#173
53763d3 to
3106727
Compare
The compiler's invalid hook reports which file invalidated the compilation. Forward it as an optional
filefield on thebuildingpayload and log it in the client, so users can see what triggered a rebuild.Ref webpack/webpack-hot-middleware#173
Summary
What kind of change does this PR introduce?
Did you add tests for your changes?
Does this PR introduce a breaking change?
If relevant, what needs to be documented once your changes are merged or what have you already documented?
Use of AI