From: Thomas Fillon Date: Tue, 17 Mar 2015 17:59:11 +0000 (+0100) Subject: Docker-compose: add autorelaod option for celery worker X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=002a49a877078d02cf8e6b6c58b3ebc8342d6f3b;p=timeside.git Docker-compose: add autorelaod option for celery worker --- diff --git a/examples/deploy/celery_app.sh b/examples/deploy/celery_app.sh index 1c9b687..39f1496 100644 --- a/examples/deploy/celery_app.sh +++ b/examples/deploy/celery_app.sh @@ -7,4 +7,7 @@ manage=$sandbox_dir'manage.py' python $manage migrate --noinput -$manage celery worker -A celery_app +# Starting celery worker with the --autoreload option will enable the worker to watch for file system changes +# This is an experimental feature intended for use in development only +# see http://celery.readthedocs.org/en/latest/userguide/workers.html#autoreloading +$manage celery worker --autoreload -A celery_app