chore. ensure celery is reloaded during code change.

This commit is contained in:
dot-mike 2024-03-23 19:21:58 +01:00
parent 51bc36c76c
commit 480efce3da
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ python manage.py ta_migpath
pip install watchdog -U
watchmedo shell-command --patterns="*.html;*.css;*.js" --recursive --command='kill -HUP `cat /tmp/project-master.pid`' . &
watchmedo auto-restart --directory=./ --pattern=*.py --recursive -- celery -A home.tasks worker --loglevel=INFO --max-tasks-per-child 10 &
# start all tasks
nginx &