From 002a49a877078d02cf8e6b6c58b3ebc8342d6f3b Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Tue, 17 Mar 2015 18:59:11 +0100 Subject: [PATCH] Docker-compose: add autorelaod option for celery worker --- examples/deploy/celery_app.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5