Postponed
Project:
Drupal core
Version:
main
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2023 at 11:12 UTC
Updated:
25 May 2023 at 15:56 UTC
Jump to comment: Most recent
#3278493: Make it easier for theme builders to enable Twig debugging and disable render cache adds a new UI for enabling development settings.
However, in comment #120, @crasx pointed out a weird behavior: if you have the cache enabled, you disable it and make changes, and enable it again, you get the old cached markup. This is odd and not expected, so a bad and confusing DX experience.
When enabling cache again, you should get the latest markup.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mglamanWe need to make sure Twig cache and those cache bins are dumped when those settings are turned off
Comment #3
mglamanWorking on a patch quickly
Comment #5
mglamanNeeds review! But also needs tests.
Comment #6
smustgrave commentedJust going through the queue
This seems to be postponed on https://github.com/mglaman/phpstan-drupal/issues/563