-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
doc, test: update --watch for linux recursive watch #55256
base: main
Are you sure you want to change the base?
Conversation
I'm a bit surprised cc @nodejs/platform-ibmi |
If you search for the error, it's only mentioned in the docs and defined in |
I can see that, but I'm questioning whether the code was changed to not throw the error anymore on all platforms despite watch not working on IBM i -- AFAIK it's a system limitation there. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #55256 +/- ##
==========================================
- Coverage 88.41% 88.41% -0.01%
==========================================
Files 652 652
Lines 186572 186585 +13
Branches 36045 36061 +16
==========================================
+ Hits 164957 164967 +10
+ Misses 14899 14887 -12
- Partials 6716 6731 +15
|
5e31a82
to
a0719b8
Compare
FWIW the tests are skipped on IBMi |
Looks like calling const fs = require('fs');
fs.watch('dummy', (eventType, filename) => {
console.log(`event type is: ${eventType}`);
if (filename) {
console.log(`filename provided: ${filename}`);
} else {
console.log('filename not provided');
}
});
I'm not sure if ever returned |
Maybe I misremembered then. 🤷 |
I've added https://github.com/nodejs/node/labels/dont-land-on-v18.x as #45098 didn't land on that release line. If you could review it would be appreciated :-) |
Follow-up #45098
This PR removes the unused error code
ERR_FEATURE_UNAVAILABLE_ON_PLATFORM
, and stops skipping some of the watch mode tests on Linux machines.