Skip to content

Commit

Permalink
ENH Disable twig caching
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 2, 2023
1 parent ac1dc5a commit 8cbb724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function isDevMode()

public function createTwigEnvironment(): Twig\Environment
{
return new Twig\Environment(new Twig\Loader($this));
return new Twig\Environment(new Twig\Loader($this), ['cache' => false]);
}

/**
Expand Down

0 comments on commit 8cbb724

Please sign in to comment.