-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Bug] Hot reloading broken when saving a file from a workspace that has peerDependencies listed #1209
Comments
The workaround for this issue is to disable polling for the time being until fs.watchFile can work with a Virtual FS. |
I think I ran into the same issue. How do you disable polling in this case? |
i stumbled upon the same issue, and the tip from @dalinarkholin helped as a workaround! thanks for the workaround! |
Hi! 👋 This issue looks stale, and doesn't feature the Note that we require Sherlock reproductions for long-lived issues (rather than standalone git repositories or similar) because we're a small team. Sherlock gives us the ability to check which bugs are still affecting the master branch at any given point, and decreases the amount of code we need to run on our own machines (thus leading to faster bug resolutions). It helps us help you! 😃 If you absolutely cannot reproduce a bug on Sherlock (for example because it's a Windows-only issue), a maintainer will have to manually add the |
spent some time on this, it turns out to be chokidar and our virtual fs patch on fsevents causes those issues. It's easy to reproduce:
in this case, chokidar only uses fsevents to watches and btw, |
Describe the bug
When adding a peerDependency to a workspace that is shared between multiple front end applications(react), our dev cycle is somewhat disrupted. Hot reloading no longer picks up changes to file saves within the shared workspace.
To Reproduce
Reproduction found here
Environment if relevant (please complete the following information):
The text was updated successfully, but these errors were encountered: