Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drupal site:mode dev doesn't switch off twig cache #3854

Closed
LOBsTerr opened this issue Apr 3, 2018 · 3 comments
Closed

drupal site:mode dev doesn't switch off twig cache #3854

LOBsTerr opened this issue Apr 3, 2018 · 3 comments

Comments

@LOBsTerr
Copy link
Member

LOBsTerr commented Apr 3, 2018

Problem/Motivation

Disable the twig cache, because we don't need in the development environment

How to reproduce

drupal site:mode dev

parameters:
    twig.config: { debug: true, auto_reload: true, cache: true }

should be

parameters:
    twig.config: { debug: true, auto_reload: true, cache: false }

Solution

Set twig cache to false

@LOBsTerr
Copy link
Member Author

LOBsTerr commented Apr 3, 2018

@ademarco
Copy link

ademarco commented Apr 6, 2018

👍 this would be very useful indeed!

@LOBsTerr
Copy link
Member Author

It was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants