You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running Rolldown in development mode (using DevEngine), HMR updates are not triggered for newly created files.
When a module is added to the module graph after running devEngine.run(), changes made to that module are ignored by the HMR runtime. If the server is restarted, the module is present when running devEngine.run() and HMR works as expected.
Reproduction
I made a repro repository which is a very simple Svelte application project. Repro steps are explained in the README.md of the repository.
This sample project will highlight that changes made to a newly imported file/module while the dev server is running won't trigger a HMR update.
I'm using the latest version of Rolldown (1.0.0-rc.5)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone! Here is my problem:
Description
When running Rolldown in development mode (using
DevEngine), HMR updates are not triggered for newly created files.When a module is added to the module graph after running
devEngine.run(), changes made to that module are ignored by the HMR runtime. If the server is restarted, the module is present when runningdevEngine.run()and HMR works as expected.Reproduction
I made a repro repository which is a very simple Svelte application project. Repro steps are explained in the
README.mdof the repository.This sample project will highlight that changes made to a newly imported file/module while the dev server is running won't trigger a HMR update.
I'm using the latest version of Rolldown (1.0.0-rc.5)
Thank you in advance for you help!
Beta Was this translation helpful? Give feedback.
All reactions