I have made some GP child themes. When I Activate or Live Preview a different child theme, while the Cache Dynamic CSS option is enabled it continues to use the old Customiser options.
You can test this by following these steps:
1) Installing two of your child themes from wordpress.org (e.g. Mantle and Freelancer)
2) Activate one of them.
3) Now Activate the other and you can see cache has not been flushed.
4) Also try Live Previewing a child theme (e.g. Mantle) while the other child theme is still activated (e.g. Freelancer).
Shouldn’t this cache be flushed on Activation of another theme or when Live Previewing another theme?
If you disagree that this should be standard GP functionality, then is there a way we can safely flush this cache from the functions.php of our child themes? So on activation of our child theme flush the Cache Dynamic CSS?