Reload an imported module when changes are made

Summary

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?
/Dash
/Dash/Home.py
/Dash/pages
/Dash/pages/Models.py
/Dash/pages/Indicators.py
/Dash/utils
/Dash/utils/bt_utils.py
/Dash/utils/st_utils.py

My Indicators.py imports bt_utils.py for example.

Hm that should actually work. Youโ€™re starting the app as streamlit run Home.py 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!

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.