You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pipeline correctly generates the collected, minimized and hashed file in my static folder. e.g. /static/js/index.59efce78ac06.js
However, the {% javascript 'index_js' %} template tag does not generate the corresponding filename. The hash it uses seems to get stuck on the last hash and never updates to the one just generated. I have to kill and restart runserver for it to use the new hash.
This only seems to happen when DEBUG=False, so it's not a problem in development. However, this is a huge problem for a production environment, because it means you have to restart your Django process every single time you update your static media and run collectstatic.
If I run:
Pipeline correctly generates the collected, minimized and hashed file in my
static
folder. e.g./static/js/index.59efce78ac06.js
However, the
{% javascript 'index_js' %}
template tag does not generate the corresponding filename. The hash it uses seems to get stuck on the last hash and never updates to the one just generated. I have to kill and restartrunserver
for it to use the new hash.This only seems to happen when DEBUG=False, so it's not a problem in development. However, this is a huge problem for a production environment, because it means you have to restart your Django process every single time you update your static media and run collectstatic.
My pipeline settings are:
The text was updated successfully, but these errors were encountered: