After the developer mode is enabled in the production environment, the server code will be automatically changed after the doctype is modified. Cause code conflicts in subsequent updates
Yes, this is the design. This is the exact reason why we have a “developer mode” in the first place and why you should not activate developer mode in production