-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(webpack + vite): fix dependency watching in loader #1671
fix(webpack + vite): fix dependency watching in loader #1671
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
edb19d6
to
38b90a0
Compare
Co-authored-by: Andrii Bodnar <andrii.bodnar@crowdin.com>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1671 +/- ##
==========================================
+ Coverage 75.56% 75.70% +0.13%
==========================================
Files 79 79
Lines 2018 2033 +15
Branches 519 520 +1
==========================================
+ Hits 1525 1539 +14
Misses 379 379
- Partials 114 115 +1
☔ View full report in Codecov by Sentry. |
maybe related, we start seeing following errors after the latest release:
|
@taozhou-glean yes, this is related, but could you create a miminal repro? Don't understand the case where relative paths happened |
@thekip sorry for the late reply, was busy with something else. I just checked, i think the reason is that the |
ah I guess we should use |
I still have the same issue despite the fix |
Description
Here we go again. The deps watching still doesn't work and cause problems with cache bursting on my project.
Found that i erroneously assumed that path in the Catalog is a relative, where it actually is absolute. Based on this wrong assumption, unnecessary path concatenation was made, resulting in incorrect paths for files.
I also write a test for webpack loader checking that webpack actually watching all files and react on the changes in them.