Magento Architecture and Customization Techniques

You don’t have to use the –keep-generated flag in your development
environment. If you take this off, the generated/ directory will be deleted. This
directory stores files that are generated by Magento and by deleting them, these
files will have to be re-generated. Most of the time you can use this flag. The
times where you would avoid using this flag would be if the new module includes
modifications to generated code, such as extension attributes or plugins. I use
this all the time. If I find that a plugin is not firing or an extension attribute
doesn’t exist, then I manually delete the generated/ directory.

admin

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top