Apps deployed on Streamlit Community Cloud reacts only on main app file changes, but not on changes in the py modules

Summary

Apps deployed on Streamlit Community Cloud reacts only on main app file changes, but not on changes in the py modules

Steps to reproduce

In general when you deploy an app on streamlit cloud, commit-pushes to github are immediately reflected in the deployed app.

This does not seem to be a case when you split your code into modules and you are commit-pushing changes only to one of the modules.

Example: GitHub - TomJohnH/streamlit-game

I’ve observed that change of game_config.py requires app reboot to be reflected in the deployed app.

So what:

Obviously, it would be great if all changes were immediately reflected in production. I am not sure if I am the only one experiencing such behavior, or maybe it is expected behavior by design?

After some reasearch: in accordance to this post Streamlit should detect changes in modules. I am really curious is anyone expecting same issue as I do.

I have seen that when deploying to Streamlit Cloud from GitHub.