-
Notifications
You must be signed in to change notification settings - Fork 955
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
After migrating to esbuild HMR no longer works on local dev plugins #4152
Comments
@aigoncharov should look into this. |
@aeroxy the plugins are still watched ( flipper/desktop/scripts/start-dev-server.tsx Line 416 in 277d730
We might build custom integration with react-refresh/runtime in future, but it is not on the roadmap though. We'd be happy to accept a PR for it though.
|
Ok, let me give it a shot. |
This might be a good place to start facebook/react#16604 (comment) |
Previously we use getWatchFolders for Metro to ensure local dev plugin projects are watched when running with the fast-refresh flag. After migrating to esbuild we lose this feature, and while developing local dev plugins, we would need to refresh the flipper manually and lose all the states.
The text was updated successfully, but these errors were encountered: