-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Update chokidar to 3.3.0 #153
Conversation
It is breaking change |
@evilebottnawi Please provide a failing test. If you’re not willing to do the work to make this function I need to know where it fails. |
…s in a row. without this yarn resolution, karma runner fails on mac with 'fsevents is not a constructor' see: webpack/watchpack#153 webpack/watchpack#130
…ks in a row. without this yarn resolution, karma runner fails on mac with 'fsevents is not a constructor' see: webpack/watchpack#153 webpack/watchpack#130
…ks in a row. without this yarn resolution, karma runner fails on mac with 'fsevents is not a constructor' see: webpack/watchpack#153 webpack/watchpack#130
v3 requires at least node 8, maybe it is time to drop smaller versions? |
Installation fails to start on node 6, which seem to be expected as node 6 support was dropped. But the tests are also failing on node 8 on linux and windows (not on mac). This is unexpected. |
The problem seem to be caused by bugs in |
hmm this fixes only the problems on linux. Windows is still broken on node.js 8 |
Pushing new chokidar is simple. What exactly is broken on node 8 @ windows? Hard to tell from tests. |
BTW I suggest to switch to GitHub actions. It supports all three platforms. |
Doesn't seem like the See this pull request for reference: webpack/webpack-dev-server#2539 |
Not sure yet. Errors are weird. On linux node 8 it also logs:
remove seem to be an async method but none of its callsites handle the returned promise. Seems |
I added a |
I guess it's the |
Pushing 3.4 in a bit. |
Codecov Report
@@ Coverage Diff @@
## watchpack-1 #153 +/- ##
===============================================
- Coverage 95.22% 94.57% -0.65%
===============================================
Files 3 4 +1
Lines 356 369 +13
Branches 97 98 +1
===============================================
+ Hits 339 349 +10
- Misses 17 20 +3
Continue to review full report at Codecov.
|
Is there any point in keeping old chokidar around? webpack-dev-server switched to v3 completely. You'll just keep seeing v2-related warnings. |
Yep to not break semver. We must keep support for node.js 6 in this major version. As chokidar doesn't support node 6, we fallback to old chokidar for node 6. These warnings seem to be a bit weird anyway. Why do you need to tell someone that it doesn't work for node 14 when they not using node 14 anyway? These warnings should only appear for node 14 users. Or even better would be if node 14 users get an error. |
Because it can work. Or it can break. It doesn't always break. We've been receiving bug reports over and over regarding old versions. The amount of bug reports keeps getting increased for those. We need to make users upgrade at some point. |
I prefer the warnings so I can see potential problems in advance, rather than upgrading node and then discovering a branch won't build. Also - chokidar bumped up to @v3.4.0 a few weeks ago, looks to be version bump on internal library for typing |
Thanks |
Regardless of what happens in watchpack 2.0.0, this fix will sidestep node-gyp issues for at least several hundred macOS Catalina users. The tests still turn up green w/o changes, but perhaps the coverage is poor? Fixes #130.