-
-
Notifications
You must be signed in to change notification settings - Fork 554
Open
Labels
Milestone
Description
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.