My build command contains cargo build --release
which compiles everything. But my start command contains cargo run --release
and compiles everything again. Is this expected? How can I avoid a recompile on start?
Possibly related but my package is not at the root of my project, it’s in a subdirectory so my start command actually looks like cd server && cargo run --release