forked from orbit-oss/flask
add exclude-patterns option to flask run
This commit is contained in:
parent
e06dad62f6
commit
beae1249f7
3 changed files with 33 additions and 1 deletions
|
|
@ -262,6 +262,15 @@ separated with ``:``, or ``;`` on Windows.
|
|||
* Detected change in '/path/to/file1', reloading
|
||||
|
||||
|
||||
Ignore files with the Reloader
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The reloader can also ignore files using :mod:`fnmatch` patterns with
|
||||
the ``--exclude-patterns`` option, or the ``FLASK_RUN_EXCLUDE_PATTERNS``
|
||||
environment variable. Multiple patterns are separated with ``:``, or
|
||||
``;`` on Windows.
|
||||
|
||||
|
||||
Debug Mode
|
||||
----------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue