Skip to content

chore: update chokidar to v4#5657

Open
bjohansebas wants to merge 5 commits intonextfrom
chokidar-udpate
Open

chore: update chokidar to v4#5657
bjohansebas wants to merge 5 commits intonextfrom
chokidar-udpate

Conversation

@bjohansebas
Copy link
Copy Markdown
Member

Summary

Unlike #5374, which tries to keep native glob support in dev-server to maintain compatibility, this one doesn’t, instead, it simply removes it and shows how to replicate it. That’s also what rspack did in its dev-server, and I don’t think we should be doing external magic just to preserve that support.

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

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

❌ Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 83.65%. Comparing base (d163488) to head (77bc5ef).

Files with missing lines Patch % Lines
lib/Server.js 94.44% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             next    #5657      +/-   ##
==========================================
+ Coverage   83.57%   83.65%   +0.07%     
==========================================
  Files          11       11              
  Lines        1924     1939      +15     
  Branches      707      718      +11     
==========================================
+ Hits         1608     1622      +14     
- Misses        283      284       +1     
  Partials       33       33              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bjohansebas bjohansebas marked this pull request as draft April 1, 2026 20:59
@alexander-akait
Copy link
Copy Markdown
Member

@bjohansebas looks good for me to using glob and globSync

@bjohansebas bjohansebas marked this pull request as ready for review April 1, 2026 22:54
? globSync(item, { cwd: watchOptions.cwd, absolute: true })
: item,
);
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need it? Can you provide cases where we broken without it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants