You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -238,12 +238,12 @@ When a `live_update` is triggered, Tilt will, in order:
238
238
3. Poke `app.py` if necessary to make sure that Flask reloads the server
239
239
4. Congratulate you on finishing this guide!
240
240
241
-
The second additional parameter, `build_args={'flask_env': 'development'}`, corresponds to this Dockerfile change:
241
+
The second additional parameter, `build_args={'flask_debug': 'True'}`, corresponds to this Dockerfile change:
242
242
```
243
243
# Default value; will be overridden by build-args, if passed
244
-
ARG flask_env=production
244
+
ARG flask_debug=False
245
245
246
-
ENV FLASK_ENV $flask_env
246
+
ENV FLASK_DEBUG $flask_debug
247
247
```
248
248
Together, these changes mean that when we build this Dockerfile via this Tiltfile, our Flask app will run in development mode. When in development mode, Flask watches for file changes and reloads the server when necessary.
0 commit comments