Function unreact::is_dev

source ·
pub fn is_dev() -> bool
Expand description

Check if --dev or -d argument was passed on cargo run

Examples

This will run in production mode

cargo run

This will run in development mode

cargo run -- --dev
cargo run -- -d