-
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #2897 - Add extra_files
option to flask run
CLI
#2898
Fix #2897 - Add extra_files
option to flask run
CLI
#2898
Conversation
9228dc4
to
5d92197
Compare
The travis error Traceback (most recent call last):
File "/home/travis/build/pallets/flask/.tox/docs-html/lib/python3.6/site-packages/sphinx/config.py", line 161, in __init__
execfile_(filename, config)
File "/home/travis/build/pallets/flask/.tox/docs-html/lib/python3.6/site-packages/sphinx/util/pycompat.py", line 150, in execfile_
exec_(code, _globals)
File "conf.py", line 7, in <module>
from pallets_sphinx_themes import DocVersion, ProjectLink, get_version
ImportError: cannot import name 'DocVersion'
ERROR: InvocationError for command '/home/travis/build/pallets/flask/.tox/docs-html/bin/sphinx-build -W -b html -d /home/travis/build/pallets/flask/.tox/docs-html/tmp/doctrees docs /home/travis/build/pallets/flask/.tox/docs-html/tmp/html' (exited with code 2) Is also happening locally, all other envs of the tox matrix is passing except the docs. looks like recent changes to DocVersion location on pallets_sphinx_themes @davidism |
This comment has been minimized.
This comment has been minimized.
please rebase on master, DocVersion import is already fixed |
5d92197
to
574de7d
Compare
@onovy done! |
Current failures are due to Werkzeug master, don't worry about it. |
Do you still want this to be merged? should I rebase or close it? |
currently working on Werkzeug |
|
Multiple paths for the reloader's `--extra-files` are accepted as one option, separated by ':'.
7c40aeb
to
e18cc4d
Compare
Pushed a new version that adds a |
Fix #2897
To define a list of files the reloader should watch additionally to the modules
as in
extra_files
argument used in theapp.run
andwerkzeug.serving.run_simple
you can either use the
--extra-files
(or multiple-f
) option or define theFLASK_RUN_EXTRA_FILES
environment variable.On command line the same can be achieved with
flask run -f /path/to/file1 -f /path/to/file2
.