As designed Templates don't sync back into XF in the ACP

Robust

Well-known member
Affected version
2.0.1
Discovered an undocumented feature.

Looks like if I edit a template in _output and refresh a page in the normal frontend, changes sync as they should into the templates. However, if I make an edit and only refresh within the ACP changes will not be synced. They only sync if you make a refresh on the frontend.
 
Indeed. We have a "template watcher" that happens in dev mode when the templates are rendered for a given page. If the templates we're rendering contain a different hash to the ones we have already compiled from then the template will be re-imported from dev output before rendering.
 
Top Bottom