How can I make Streamlit watch for changes in other modules I'm importing in my app?

By default, Streamlit only watches modules contained in the current directory of the main app module. You can track other modules by adding the parent directory of each module to the PYTHONPATH.

export PYTHONPATH=$PYTHONPATH:/path/to/module streamlit run

Still have questions?

Our forums are full of helpful information and Streamlit experts.