Cargo web start // reload on every recompile

I’m using cargo web start --target=wasm32-unknown-unknown

Every time a source file is modified, the “cargo web start” process automatically recompiles the code.


Is there a way to things up so that after the “cargo web start” does the recompile, the browser is somehow notified to make a reload? The browser might be on a separate machine.


There is project that specializes in reloading browsers remotely. It has built-in support for JS/Node, but there’s also browser-sync reload command that you should be able to launch from Rust.