Reload an imported module when changes are made


Hi, i have a multipage app and some pages are importing some utils modules that i made. Is there a way to make streamlit recognizes changes in modules code to refresh? Everytime i make a change in this modules i have to restart the server

Expected behavior:

My Dash app structure is like that?

My imports for example.

Hm that should actually work. You’re starting the app as streamlit run I assume? Can you also try to update to the latest Streamlti version? We did have an issue with this in the past, even though it was fixed quite a long time ago… If it still persists, can you please file a bug report as a Github issue? Then our engineering team will look into it!