By moshe weitzman on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
master
Introduced in version:
7.x-5.0
Issue links:
Description:
In order to improve speed, Drush now caches the list of commandfiles and their paths. When you add a new commandfile to your server, you have to run drush cc drush in order for it to get recognized. If you acquire the new commandfile via drush pm-download, or via enable/disable of a Drupal module, this cache is flushed for you.
The cache only needs flushing when new commandfiles appear. Changes to commandfiles don't require a clear. Similarly, removal of a commandfile needs no clear.