drupal-console
drupal-console copied to clipboard
[ *build* ] "drupal build"-command has cache clear run after updating db and importing configuration
Problem/Motivation
The problem here is that clearing the cache runs after updating the database and importing config. However clearing the cache allows Drupal to register newly added php functions/classes and also files (which might be configuration files) and normally needs to run before these two.
How to reproduce
Include steps related how to reproduce.
Details to include:
- Drupal version: 8.8.1
- Console version: 1.9.0
- Console Launcher version: 1.9.4
Solution
Clearing the cache should come prior to updating the database and importing config.
Here is an example of the sequence in the documentation of platform.sh: