-
Notifications
You must be signed in to change notification settings - Fork 86
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
ENOENT when setting fs.watch #246
Comments
Nope, not supported yet. Lines 1214 to 1218 in 28d65a7
|
Yes. Not yet implemented. This is the first I've seen of a request for it, so it is hard to say how widely used it would be. But if anyone is up for implementing it, a well tested pull request would be welcome. |
For what it's worth, I had a use case for In any case, I've decided not to invest any more time in this right now, unfortunately. I'm going to rewrite the affected tests in my project instead. However, if anyone finds it useful, I've pushed up a PR with my changes, which do work on Node 10 and Node 12 (and have a couple of small tests demonstrating that). See #300 (Edit: new PR is #308 ) |
Any news on this? At least as an optional functionality on Node 10+? On a related note, might want to add the caveat about it being unsupported back into the readme. It took me a good while to find out that this is unsupported, and not just me being too dumb to use it right. ;) |
I could not find
fs.watch
defined anywhere in mock-fs, but also saw that #207 removed a caveat aboutfs.watch
not being implemented. I'm not sure if I'm missing something obvious or iffs.watch
is unsupported.The text was updated successfully, but these errors were encountered: