Files
discourse/app/models
David TaylorandJarek Radosz 351d3d4eb9 FIX: Make theme live-reload safer (#34133)
In production, reloading CSS files before loading new JS is risky, and
can lead to surprising UI flickering/breakage. This commit updates theme
CSS 'file-change' notifications to trigger a reload on next navigation,
just like regular core updates.

In development mode, CSS will still be refreshed 'live'.

Also adds the 'common' target to the list of refreshed CSS bundles,
which will improve the experience in development mode.

---------

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
2025-08-07 13:10:42 +01:00
..
2024-11-01 19:19:25 +02:00
2023-02-21 10:30:48 +01:00