I have a module that helps me with code and global variables, and a run file on a notebook.
I use from my_module import *
to import it and it works. When I change function definitions on the module, they autoreload
on the notebook just fine, but the global variables I defined do not when I change them in the module - I have to restart the kernel.
Is there a way to achieve autoreload for them without putting them inside a function or class?