diff --git a/scripts/celery-dev.sh b/scripts/celery-dev.sh index 24beb3913c..980db2ea0c 100755 --- a/scripts/celery-dev.sh +++ b/scripts/celery-dev.sh @@ -8,7 +8,8 @@ set -euo pipefail python manage.py migrate --noinput python manage.py compilemessages -v 0 - +python manage.py sync_permissions_roles +python manage.py sync_valueset watchmedo \ auto-restart --directory=./ --pattern=*.py --recursive -- \ diff --git a/scripts/celery_beat.sh b/scripts/celery_beat.sh index 6e90232fc6..43075ac7a4 100755 --- a/scripts/celery_beat.sh +++ b/scripts/celery_beat.sh @@ -17,6 +17,8 @@ fi python manage.py migrate --noinput python manage.py compilemessages -v 0 +python manage.py sync_permissions_roles +python manage.py sync_valueset touch /tmp/healthy