Switch from watchgod to watchfiles (#3791)

This commit is contained in:
monosans 2022-07-26 23:12:18 +00:00 committed by GitHub
parent 6bfe2f4859
commit 26eff14308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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
watchfiles==0.16.1 # https://github.com/samuelcolvin/watchfiles
{%- endif %}
# Testing