Skip to content
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

change --reload-extra-file option to get multiple files at once #3124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tilgovi
Copy link
Collaborator

@tilgovi tilgovi commented Dec 27, 2023

This is a version of #1846 that preserves backwards compatibility and adds tests.

Co-authored-by: Randall Leeds <randall@bleeds.info>
desc = """\
Extends :ref:`reload` option to also watch and reload on additional files
(e.g., templates, configurations, specifications, etc.).

.. versionadded:: 19.8
.. versionchanged:: 22.0
It is now possible to pass multiple arguments to each instance of the flag.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs explanation for those previously valid command lines (this option appearing last, omitting =) broken:

You may need to use the -- separator to distinguish option arguments from application name, e.g.
gunicorn --reload-extra-file file1 file2 -- project:wsgiapp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants