Skip to content

Commit 45d27bd

Browse files
markdorisonapotek
andauthored
Add additional value to twig.config debug settings. (#170)
Co-authored-by: K Widholm <279278+apotek@users.noreply.github.com>
1 parent 7c0f0fd commit 45d27bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Robo/Plugin/Commands/DevelopmentModeBaseCommands.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,12 @@ protected function frontendDevEnableDrupal(string $siteDir = 'default', array $o
347347
);
348348
}
349349

350-
$this->say("enablig twig.debug in development.services.yml.");
350+
$this->say("optimizing twig for front-end development in development services yml config.");
351351
$devServices = Yaml::parseFile($this->devServicesPath);
352352
$devServices['parameters']['twig.config'] = [
353353
'debug' => true,
354354
'auto_reload' => true,
355+
'cache' => false,
355356
];
356357
file_put_contents($this->devServicesPath, Yaml::dump($devServices));
357358
$this->say("disabling render and dynamic_page_cache in settings.local.php.");

0 commit comments

Comments
 (0)