Live reload for dev mode

This commit is contained in:
Sascha Ißbrücker
2026-01-02 18:23:29 +01:00
parent 4291bda9d4
commit ec0c7ee253
5 changed files with 115 additions and 0 deletions

View File

@@ -61,4 +61,5 @@
{% if not request.global_settings.enable_link_prefetch %}<meta name="turbo-prefetch" content="false">{% endif %}
{% if rss_feed_url %}<link rel="alternate" type="application/rss+xml" href="{{ rss_feed_url }}" />{% endif %}
<script src="{% static "bundle.js" %}?v={{ app_version }}"></script>
{% if debug %}<script src="{% static "live-reload.js" %}"></script>{% endif %}
</head>