Playing around with how to reload browser on code change.
Maybe a bit more advisable way is to use tower-livereload instead of building your own.
cargo watch -w static -w src -x run
- Open browser: http://localhost:3000/hello
- Make a change to
static/hello.html
and it should be reloaded in the browser.