wasm-pack icon indicating copy to clipboard operation
wasm-pack copied to clipboard

Live reloading not work

Open Phoenixkaze opened this issue 3 years ago • 1 comments

I used npm init rust-webpack my-app to create a project. Made some changes. Run npm run build.

Then I made some more changes to the lib.rs file. For the first two times I made changes and saved the file, WDS detected the changes and compiled them, the page also reloaded.

But from the third time I made changes and saved it, it compiled the rust code but seemed not emit new js file (no WDM messages printed), the page did not reload either.

rust 1.59.0, Windows 10, node 14.15.5.

All dependencies' versions not modified, same as the template's preset.

Phoenixkaze avatar Feb 27 '22 10:02 Phoenixkaze

Similar issue. Live reload works on first change only.

elusivenode avatar Jun 10 '22 11:06 elusivenode