Skip to content

Files

Latest commit

Jan 10, 2024
a4c9a99 · Jan 10, 2024

History

History

reload-feature

This examples shows to make hot reloading configurable using a feature.

For development use two terminals and run the binary

cargo watch -i lib -x 'run --features reload'

and (re-)build the lib

cargo watch -w lib -x 'build -p lib'

To run with a statically compiled binary just do

cargo run