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
Describe the bug
Editing a component's template requires restarting the server. Perhaps the template is cached, even in DEBUG mode?
To Reproduce
Steps to reproduce the behavior:
Create a component and use the component in a template
Run python manage.py runserver
Edit the component's template
Refresh the browser
Notice that the changes are not reflected
Change the component function in any way and save (OR kill and restart server)
Refresh browser
Notice that the changes are now reflected
Expected behavior
When using bare @register.inclusion_tag, changes to the referenced template are automatically reflected without needing to restart the server. I'd expect the same thing to happen with component templates, at least when DEBUG == True
Screenshots
N/A
django-component-kit Version
0.5.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Editing a component's template requires restarting the server. Perhaps the template is cached, even in DEBUG mode?
To Reproduce
Steps to reproduce the behavior:
python manage.py runserver
Expected behavior
When using bare
@register.inclusion_tag
, changes to the referenced template are automatically reflected without needing to restart the server. I'd expect the same thing to happen with component templates, at least whenDEBUG == True
Screenshots
N/A
django-component-kit Version
0.5.1
The text was updated successfully, but these errors were encountered: