We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
fs.watchFile does not trigger change events when the file path is a virtual one.
this implementation is used within Chokidar when polling(usePolling) is enabled(example: via webpack)
To Reproduce
No repro at the moment.
Per @arcanis
"ideally just a simple Node script using fs.watchFile, so no webpack or anything"
"I suspect the fix will be to override watchFile and/or watch in the VirtualFS https://github.com/yarnpkg/berry/blob/master/packages/yarnpkg-fslib/sources/VirtualFS.ts"
Additional context
#1209 is related.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
fs.watchFile does not trigger change events when the file path is a virtual one.
this implementation is used within Chokidar when polling(usePolling) is enabled(example: via webpack)
To Reproduce
No repro at the moment.
Per @arcanis
"ideally just a simple Node script using fs.watchFile, so no webpack or anything"
"I suspect the fix will be to override watchFile and/or watch in the VirtualFS
https://github.com/yarnpkg/berry/blob/master/packages/yarnpkg-fslib/sources/VirtualFS.ts"
Additional context
#1209 is related.
The text was updated successfully, but these errors were encountered: