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
Renaming the direct child in the folder works as expect.
When I watch / (with recursive: true) and rename the /test/hello.txt file, the watcher is not triggered.
/
recursive: true
/test/hello.txt
Here is the online demo: https://codesandbox.io/s/stoic-jerry-juxpw4?file=/src/index.js:0-264
// demo code import { fs } from "memfs"; fs.mkdirSync("/test"); fs.writeFileSync("/test/hello.txt", "World!"); fs.watch("/", { recursive: true }, (eventType, filename) => { console.log("watch:", eventType, filename); }); fs.renameSync("/test/hello.txt", "/test/hello1.txt"); // expect print: watch: change /
Such code works in Node.js (v14.19.3).
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 3.5.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Renaming the direct child in the folder works as expect.
When I watch
/
(withrecursive: true
) and rename the/test/hello.txt
file, the watcher is not triggered.Here is the online demo: https://codesandbox.io/s/stoic-jerry-juxpw4?file=/src/index.js:0-264
Such code works in Node.js (v14.19.3).
The text was updated successfully, but these errors were encountered: