Open sprankhub opened 4 years ago
Thanks for opening the issue!
Currently I don't think the watcher registeres renaming of theme directories, only files within that directory, but I will check.
In the meanwhile, maybe there is a similarly easy way to temporarily disable a theme, e.g. by renaming the registration.php
file or such? Just a thought.
Thanks! Not sure what happens when the theme is configured, but not present anymore. I would expect an error. Anyway, this is also helpful during refactoring.
If you check that, it may make sense to check if renaming of extension directories is currently detected.
I have a theme under
src/Namespace/Themename
../src/*/*
is defined as a local composer repository. When I rename the directorysrc/Namespace/Themename/Magento_Catalog
tosrc/Namespace/Themename/Magento_Catalog2
(to quickly check if my customisations broke something), the cache is not cleared. I guess it makes sense to clear it in this case as well?