If you have heard of Drupal cache system then it's okay, but you have not heard of. Cache is a part of Drupal core that means whenever you make many change you must clear the cache to see the changes on the site and that is time consuming.
This post will help you quickly disable Drupal cache and also enable twig debug mode that will be helpful if you are going custome or build Drupal theme.
The only requirement is - you must have composer installed on your system.
I am using Linuxmint for my development environment but you can follow these steps on any OS of your choice.
Let's do it...
- Navigate to the Drupal root folder/directory
- Add drupal/console to the drupal instance
- Change the site mode to dev with drupal console
cd /var/www/html/drupal
sudo composer require drupal/console
sudo vendor/bin/drupal site:mode dev
You are done.
Top comments (0)