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

Changes In etc/graphql/di.xml Not Watched #101

Closed sprankhub closed 2 years ago

sprankhub commented 2 years ago

Pretty much the same issue you just fixed in https://github.com/mage2tv/magento-cache-clean/commit/986ecb79b455ce2ac1a8dbf10132121d00131efd also applies to the file etc/graphql/di.xml. Changes in this file are currently not detected.

Thanks as usual!

Vinai commented 2 years ago

That's strange - the regex /etc(?:/[^/]+|)/di\.xml$ should match any area. I'll try and reproduce.

Vinai commented 2 years ago

Jup, sorry to say - I can't reproduce the issue. Is there any more info you can provide?

sprankhub commented 2 years ago

Sorry for not giving more information in the first place - I thought it is easy to reproduce. I added another plugin in https://gitlab.hyva.io/hyva-themes/hyva-compat/magento2-gogento-smart-custom-options/-/blob/main/src/etc/graphql/di.xml and it did not clean the cache for me. However, now after trying it again, it indeed works :astonished:

Sorry, no idea what the issue was to be honest :see_no_evil: