wasm-pack
wasm-pack copied to clipboard
Live reloading not work
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.
Similar issue. Live reload works on first change only.