mage2tv / magento-cache-clean

A faster drop in replacement for bin/magento cache:clean with file watcher
BSD 3-Clause "New" or "Revised" License
527 stars 61 forks source link

Behavior when a new plugin is configured #98

Open jcostasilva opened 3 years ago

jcostasilva commented 3 years ago

Hi,

Thank you so much for this module! Indeed, one of the great paints of the Magento dev experience is all this cache / files cleaning. And the module is a great help.

Not 100% sure, but I'm experiencing that installing a new plugin (before, after, around) doesn't work. I have to manually do all the cleaning with the usual bin/magento commands.

Any ideas, please? Thanks!

Vinai commented 2 years ago

Hi @jcostasilva,

thanks for opening the issue. When configuring the new plugin in the di.xml file the config cache is cleaned, so it should work out of the box. Depending on what the plugin does, you might still need to flush additional caches, e.g. the FPC, if the plugin affects the output of a cached page. Can you give an example or two for plugins where you encountered this issue?