What problem does this address?
When working with theme.json, patterns, and templates, changes are often not visible immediately due to caching which is employed by WordPress.
You can set the WP_DEVELOPMENT_MODE constant to disable this - https://make.wordpress.org/core/2023/07/14/configuring-development-mode-in-6-3/
However this is sometimes missed, especially on hosted dev environments.
What is your proposed solution?
Investigate possible approaches for setting WP_DEVELOPMENT_MODE and/or clearing caches within themer.
Potentially - have an option in the 'more menu' for enabling theme dev mode, and display a persistent notification in WP Admin to alert users that this is active.
What problem does this address?
When working with theme.json, patterns, and templates, changes are often not visible immediately due to caching which is employed by WordPress.
You can set the
WP_DEVELOPMENT_MODEconstant to disable this - https://make.wordpress.org/core/2023/07/14/configuring-development-mode-in-6-3/However this is sometimes missed, especially on hosted dev environments.
What is your proposed solution?
Investigate possible approaches for setting
WP_DEVELOPMENT_MODEand/or clearing caches within themer.Potentially - have an option in the 'more menu' for enabling
themedev mode, and display a persistent notification in WP Admin to alert users that this is active.