add SeparatedPathType to accept multiple paths

Multiple paths for the reloader's `--extra-files` are accepted as one
option, separated by ':'.
This commit is contained in:
David Lord 2019-05-24 07:19:56 -07:00
parent 2308cba407
commit e18cc4d71d
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
3 changed files with 47 additions and 23 deletions

View file

@ -49,6 +49,9 @@ Unreleased
not installed, or if the given path isn't a file. :issue:`2937`
- Signaling support has a stub for the ``connect_via`` method when
the Blinker library is not installed. :pr:`3208`
- Add an ``--extra-files`` option to the ``flask run`` CLI command to
specify extra files that will trigger the reloader on change.
:issue:`2897`
.. _#2935: https://github.com/pallets/flask/issues/2935
.. _#2957: https://github.com/pallets/flask/issues/2957
@ -57,9 +60,6 @@ Unreleased
.. _#3179: https://github.com/pallets/flask/pull/3179
.. _#3125: https://github.com/pallets/flask/pull/3125
- Added support to ``extra_files`` argument in `flask run` CLI. (`#2898`_)
.. _#2898: https://github.com/pallets/flask/pull/2898
Version 1.0.3
-------------