Skip to main content
Tweeted twitter.com/StackDrupal/status/853891465696694272
removed the version tag since the same answer applies to every Drupal version
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Disable Drupal 8 cachingcache during development: templatesTemplates are not discovered

I have followed all steps atreported on https://www.drupal.org/node/2598914. However, if I create an new template file in my theme folder, it does not get discovered until I flush the cache manually via "drush cr". This command rebuilds drupal's cachedrush cr. 

Is rebuilding the cache rebuild a must to discover new templates, or can I optimize the devdeveloper settings to auto-discover templates during development?

Disable Drupal 8 caching during development: templates are not discovered

I have followed all steps at https://www.drupal.org/node/2598914. However if I create an new template file in my theme folder, it does not get discovered until I flush the cache manually via "drush cr". This command rebuilds drupal's cache. Is the cache rebuild a must to discover new templates or can I optimize the dev settings to auto-discover templates during development?

Disable cache during development: Templates are not discovered

I have followed all steps reported on https://www.drupal.org/node/2598914. However, if I create an new template file in my theme folder, it does not get discovered until I flush the cache manually via drush cr. 

Is rebuilding the cache a must to discover new templates, or can I optimize the developer settings to auto-discover templates during development?

Source Link
jepster
  • 971
  • 2
  • 9
  • 24

Disable Drupal 8 caching during development: templates are not discovered

I have followed all steps at https://www.drupal.org/node/2598914. However if I create an new template file in my theme folder, it does not get discovered until I flush the cache manually via "drush cr". This command rebuilds drupal's cache. Is the cache rebuild a must to discover new templates or can I optimize the dev settings to auto-discover templates during development?