Merge pull request #539 from mailpoet/twig_caching

Fix Twig cache regeneration
This commit is contained in:
mrcasual
2016-07-05 09:57:02 -04:00
committed by GitHub

View File

@@ -14,7 +14,8 @@ class Renderer {
$file_system,
array(
'cache' => $this->detectCache(),
'debug' => WP_DEBUG
'debug' => WP_DEBUG,
'auto_reload' => true
)
);
}
@@ -26,6 +27,7 @@ class Renderer {
$this->setupHandlebars();
$this->setupGlobalVariables();
$this->setupSyntax();
return $this->renderer;
}