[pre-commit.ci lite] apply automatic fixes
This commit is contained in:
parent
d4934aabb3
commit
929ffbc7a9
2 changed files with 7 additions and 7 deletions
|
|
@ -117,8 +117,8 @@ To enable debug mode, use the ``--debug`` option.
|
|||
* Debugger PIN: nnn-nnn-nnn
|
||||
|
||||
.. note::
|
||||
When the reloader starts, you'll see a message like ``Restarting with stat`` or
|
||||
``Restarting with watchdog``. This indicates which file monitoring backend is being
|
||||
When the reloader starts, you'll see a message like ``Restarting with stat`` or
|
||||
``Restarting with watchdog``. This indicates which file monitoring backend is being
|
||||
used. See :doc:`server` for more details about reloader types.
|
||||
|
||||
See also:
|
||||
|
|
|
|||
|
|
@ -112,13 +112,13 @@ Flask uses one of two reloader backends:
|
|||
Watches for file changes using your operating system's native file system events.
|
||||
This is faster and more efficient than polling. Flask automatically uses watchdog
|
||||
if it's installed.
|
||||
|
||||
|
||||
Install it for better performance:
|
||||
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
|
||||
$ pip install watchdog
|
||||
|
||||
|
||||
The text in parentheses (like ``inotify``, ``windowsapi``, or ``kqueue``) shows
|
||||
which operating system API watchdog is using. This is informational only and varies
|
||||
by platform.
|
||||
|
|
@ -135,7 +135,7 @@ reloader (for example, for debugging), you can do so:
|
|||
|
||||
app.run(debug=True, reloader_type='stat')
|
||||
|
||||
For more technical details about the reloader implementation, see the
|
||||
For more technical details about the reloader implementation, see the
|
||||
`Werkzeug serving documentation
|
||||
<https://werkzeug.palletsprojects.com/en/stable/serving/>`_.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue