Summary
Refreshing does not update the app on 1.23.0 and above. It was working fine on 1.22.0 and below.
I am deploying a Streamlit app in Kubernetes with the source file on a mounted NFS share. When I update the source file from another client with the mounted NFS share, the file updates on disk, but refreshing the app does not update the content. However, if I update the file directly from the app server, the content is updated.
I’ve tried 1.23.0 to 1.26.0 with no luck. Downgrading to 1.22.0 fixes the issue. I am using default Streamlit configurations.
Were there changes to how Streamlit watches files for changes that may have broken this behavior?
Steps to reproduce
Code snippet:
import streamlit as st
st.write("test")
If applicable, please provide the steps we should take to reproduce the error or specified behavior.
- Deploy streamlit app
- Change source file
- Refresh
Expected behavior:
The app should reflect the changes.
Actual behavior:
The app does not update. There are no errors.
Debug info
- Streamlit version: 1.23.0 to 1.26.0
- Python version: 3.8