Open
Description
What version of Bun is running?
1.2.17+282dda62c
What platform is your computer?
Darwin 24.5.0 arm64 arm
What steps can reproduce the bug?
GitHub repo with example setup and steps: https://github.com/ezand/bun-hmr-issue
- Create a workspaces project with one
package
and one Reactapplication
. - Run the app,
bun dev
- Make multiple changes to the React component in the
package
. It will reload correctly. - Make changes to the React component in the
app
. It will reload correctly. - Make another change to the React component in the
package
. It will NOT reload.
Ie. after hot-reloading the app, hot-reloading the component in packages
no longer works.
What is the expected behavior?
I would expect the hot-reload to continue working even after changes in the app
is reloaded.
What do you see instead?
After hot-reloading the app
, changes in the package
is no longer reloaded.
Additional information
There's a screencast in the GitHub repo showing the issue