In python if module A does a import moduleB then you reload module B, inside module A it will still be referring to the old version of module B. I was curious how you solved this, and I see __recursive_reload checking every attr of the given module recursively to find other modules that need reloading, but I don't see it updating those references. Does every module that imports module B need to explicitly call hmr.reload(moduleB) for this to work?
In python if module A does a
import moduleBthen you reload module B, inside module A it will still be referring to the old version of module B. I was curious how you solved this, and I see__recursive_reloadchecking every attr of the given module recursively to find other modules that need reloading, but I don't see it updating those references. Does every module that imports module B need to explicitly callhmr.reload(moduleB)for this to work?