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
Using two different configurations watched the same file, the second configuration will not take effect.
const fs = require('fs'); fs.watchFile('a.js', {persistent: false} , () => { console.log(1) }); fs.watchFile('a.js', () => { console.log(2) });
const fs = require('fs'); fs.watchFile('a.js', () => { console.log(2) }); fs.watchFile('a.js', {persistent: false} , () => { console.log(1) });
unrequired condition.
Neither 1 nor 2 will exit the process.
When watched, the StatWatcher instance is de-instanced by filename, and the same instance is returned each time the same file is watched.
The text was updated successfully, but these errors were encountered:
The problem I found when I solved #33096 .
Sorry, something went wrong.
No branches or pull requests
Using two different configurations watched the same file, the second configuration will not take effect.
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
unrequired condition.
What is the expected behavior?
Neither 1 nor 2 will exit the process.
What do you see instead?
Additional information
When watched, the StatWatcher instance is de-instanced by filename, and the same instance is returned each time the same file is watched.
The text was updated successfully, but these errors were encountered: