PyCharm - Auto-reloading Django dev server after template changes
How to make my PyCharm to reload Django dev server after i make changes in templates?
It reloads on save on every other changes but not for template changes.
server is starting by docker compose up
We are using Django 3.2.16
entrypoint.sh:
exec gunicorn app.wsgi:application --config gunicorn.py --reload
settings.py
[...]
TEMPLATES = [
{
"BACKEND": "django.template.backends.django.DjangoTemplates",
"DIRS": [],
"APP_DIRS": True,
"OPTIONS": {
"context_processors": [
"django.template.context_processors.debug",
"django.template.context_processors.request",
"django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages",
"app.context_processors.get_version",
"app.context_processors.get_env",
]
},
}
]
[...]