I'm programming a python panel externally and I use importlib.reload(mymodule) to update changes.

So far I've only known how to reimport it through the Python Panel Editor where I just add a small change and hit "Apply" to make it reload my modules.

There has to be a smarter way. Is it possible to somehow force the reload from outside, from a shelf tool script?