docs: clarify how to select production mode
KL
1d ago+4+4+0123456789-0-0-0123456789
Setting REFLEX_ENV_MODE=prod does not select production mode for reflex run. Clarify this in the environment-variable reference and point readers to uv run reflex run --env prod.
Refs #5893, where a user encountered this after reading the reference and a maintainer explained the variable's role in passing runtime configuration.
Validation:
- Verified the real Click argument parser with
REFLEX_ENV_MODE=prod:runselectsdev,run --env prodselectsprod, andrun --env devselectsdev. The final server-start function was intercepted for these checks. - Pre-commit
ruff-format,ruff-check, andcodespellpassed. - The documentation site was not built; no runtime code changes or new tests are included.
AI assistance: OpenAI Codex helped prepare the wording and run the local checks.