mage2tv / magento-cache-clean

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

Changes in vendor are not reflecting #116

Closed aveshnaik007 closed 3 months ago

aveshnaik007 commented 4 months ago

I know we should not make any changes in vendor directory. The purpose of making changes in this file is for debugging to know which template is actually getting called, which block class or model class having certain value. But when I override the file that time I am able to debug in overridden file. I cannot override each files to debug. After the finding I revert the code back. Here I see nothing is working.

Vinai commented 3 months ago

I make changes in vendor all the time and the cache-clean watcher works without issue. The module or theme has to be known to Magento though, so maybe that is why it isn't picking up the file modifications for you?

aveshnaik007 commented 3 months ago

Hi Vinai, Thank you for the reply. However I found the solution for this. I just need to copy file into the composer. This can be done using bin/copytocontainer vendor/magento/module-cms Then my changes were showing up.