I've not had success running cargo watch in release mode, it only runs in debug for me.
cargo watch --why -x run --release
error: Found argument '--release' which wasn't expected, or isn't valid in this context
cargo watch --why -x run -x --release
error: Found argument '--release' which wasn't expected, or isn't valid in this context
watch --why -x run -- --release
[Running '--release']
'--release' is not recognized as an internal or external command,
operable program or batch file.
nothing in the help specifically about it.
cargo watch --why -x "run --release"
[Running 'cargo run --release']
I've not had success running cargo watch in release mode, it only runs in debug for me.
nothing in the help specifically about it.
The above works. Closing complete.