diff --git a/compose/gettingstarted.md b/compose/gettingstarted.md index 271baaafe1..9d936790a8 100644 --- a/compose/gettingstarted.md +++ b/compose/gettingstarted.md @@ -236,7 +236,7 @@ services: The new `volumes` key mounts the project directory (current directory) on the host to `/code` inside the container, allowing you to modify the code on the fly, without having to rebuild the image. The `environment` key sets the -`FLASK_ENV` environment variable, which tells `flask run` to run in development +`FLASK_DEBUG` environment variable, which tells `flask run` to run in development mode and reload the code on change. This mode should only be used in development. ## Step 6: Re-build and run the app with Compose