Code changed after deploy in module builder

I made a new package in module builder and a few modules. I made changes in one of my modules manually in the detailveiwdefs.php file. Then i made a new module and after clicking deploy every customization that i made in that file reverted back. Is there a way to fix this? To not revert my code after clicking deploy on the package.

Unfortunaly I don’t think you can reverse that. The documentation clearly states that all customization will be lost when click on deploy:

1 Like

In practical terms, what many people do is to either avoid Module Builder completely, or (more often) use it as a starting point, for the initial creation, and then abandon it completely and just use Studio and/or manual customizations.

1 Like