-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Enabling module and public resources #1108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you Marius, this is a good idea. We should be able to include this along with some changes the team is working on now. Internal story: MAGETWO-34621 |
@tzyganu Marius we are considering changing the default behavior so that |
@mbrinton01 I don't really care what's the default value of 'clear-files' flag as long as I have the option to delete or not the public files. Maybe having it set to |
Why need some additional option and not just incremental build? Pretty naive approach would be "check which resources are bundled within a module and see what's need to be rebuilt" with, probably, some |
Thank you for the feedback. For now we will implement the following: Files in We will consider making this feature more sophisticated in the future to automatically detect what actions should be taken based on the module being enabled/disabled. For now our scope is limited to providing an option to the user. |
@tzyganu this has now been released in 0.74.0-beta5. The new console is in
The default behavior will not clear files, but the user can choose to do so using the |
…ptcha-2.2 - MAGETWO-69004: 2.2 Upgrade Testing - composer conflict
Move Multi Dimension indexation from Framework to InventoryMultiDimensionIndex modules
Right now when I enable a module (didn't test for disabling) using the cli:
php setup/index.php module-enable --modules=Vendor_Module
all the files underpub/static
are cleared.To rebuild them again I need to run again
php dev/tools/Magento/Tools/View/deploy.php
.I understand the reasons behind this action but I think it should be optional. If I enable a module that does not change anything in the public resources I may not want to rebuild them.
I think an extra parameter is needed for the module-enable action.
The text was updated successfully, but these errors were encountered: