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

Switch from watchgod to watchfiles #3791

Merged
merged 1 commit into from Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -4,4 +4,4 @@ set -o errexit
set -o nounset


watchgod celery.__main__.main --args -A config.celery_app worker -l INFO
watchfiles celery.__main__.main --args '-A config.celery_app worker -l INFO'
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/requirements/local.txt
Expand Up @@ -8,7 +8,7 @@ psycopg2==2.9.3 # https://github.com/psycopg/psycopg2
psycopg2-binary==2.9.3 # https://github.com/psycopg/psycopg2
{%- endif %}
{%- if cookiecutter.use_async == 'y' or cookiecutter.use_celery == 'y' %}
watchgod==0.8.2 # https://github.com/samuelcolvin/watchgod
Copy link
Member

Choose a reason for hiding this comment

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

I was going to ask if we still need watchgod for uvicorn, but it looks like support for watchfiles was added in v0.18.0.

watchfiles==0.16.1 # https://github.com/samuelcolvin/watchfiles
{%- endif %}

# Testing
Expand Down