Spaces:
Sleeping
Sleeping
File size: 564 Bytes
746d2f1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
---
title: How can I make Streamlit watch for changes in other modules I'm importing in my app?
slug: /knowledge-base/using-streamlit/streamlit-watch-changes-other-modules-importing-app
---
# 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`.
```bash
export PYTHONPATH=$PYTHONPATH:/path/to/module
streamlit run your_script.py
```
|