Streamlit rerun problem when developing on WSL environment


I have problem when develop streamlit app on WSL Ubuntu that not appear on MacOS. Briefly, there are two problem:

  • Not Auto rerun when code is save
  • Not Auto update function when fix bug of method in other src code file.

I have 2 main file and During develop stage:

  • Issue 1: when the function in not working, I’m going to fix the bug. Then manually rerun the page, it would not update and still warn the same error (I have crossed check on jupyter-lab and the bug is fixed, my code run without any problems)

  • Issue 2: the code work smoothly without bug, I change some order of st.columns or rearrange some Figure, the page still not update any.

Expected behavior:

The app are expecting to rerun whenever the code is changed. And auto update the functions/methods

Debug info

  • Streamlit version: 1.22
  • Python version: 3.10
  • OS version: WSL Ubuntu on Windows 11
  • Browser version: Chrome Version 113.0.5672.127 (Official Build) (64-bit)

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