hechoendrupal / drupal-console

The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.

Home Page:http://drupalconsole.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

LOBsTerr opened this issue · comments

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

👍 this would be very useful indeed!

It was merged