Skip to content

Drupal Cache Rebuild Watcher #1132

@itsdarrylnorris

Description

@itsdarrylnorris

Problem / Motivation

When someone is building a Drupal theme and it require to work with templates the user will need to rebuild (drupal cache:rebuild) almost every time and this is an manual step and is very annoying.

Solution

  • I think we should add the a functionality of watching the templates files and if there is any changes on the template will cache rebuild.
  • We can use this library https://github.com/yosymfony/Resource-watcher
  • We need to set a timer from about 15 - 20 secs to clear cache. This will prevent multiples cache rebuild why developing heavily on a theme/module.
  • Ideally this timer can be change from a YML file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions