doc, test: update --watch for linux recursive watch#55256
doc, test: update --watch for linux recursive watch#55256avivkeller wants to merge 1 commit intonodejs:mainfrom
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 Report✅ All 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
🚀 New features to boost your workflow:
|
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 :-) |
|
Bump for reviews |
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.