How to reload add-on code

Here’s an example of how to keep all modules update when you’re developing an addon:

import importlib

if "geo" in locals():
    importlib.reload(geo)
else:
    from . import geo

This imports “geo” module and reloads it if it’s already imported. Do this for all modules that you are modifying while developing.

Doing import * is in my opinion very bad practice that is hard to later fix.