Convert Flask.run into a noop when run from the CLI

This commit is contained in:
Armin Ronacher 2017-01-29 12:26:52 +01:00
parent 42fbbb4cbb
commit c9b33d0e86
4 changed files with 30 additions and 0 deletions

View file

@ -8,6 +8,10 @@ Version 0.13
Major release, unreleased
- Make `app.run()` into a noop if a Flask application is run from the
development server on the command line. This avoids some behavior that
was confusing to debug for newcomers.
Version 0.12.1
--------------