diff --git a/fabfile.py b/fabfile.py index 19022da..d477598 100644 --- a/fabfile.py +++ b/fabfile.py @@ -9,7 +9,7 @@ @task def deploy(ctx): local("yarn build", echo=True) - local("python manage.py collectstatic --noinput", echo=True) + local("python manage.py collectstatic --noinput --clear", echo=True) rsync(ctx, "static/", "apps/django-sockpuppet-expo/static/", exclude=exclude_dirs) with ctx.cd("~/apps/django-sockpuppet-expo"):