WARNING: WatchFiles detected changes in 'serial_data_handle V1_in.py'. Reloading... .Got stucked here #4190
-
QuestionWhat kind of behavior would prevent NiceGUI from refreshing and keep it stuck at "Reloading..." after detecting changes in 'serial_data_handle V1_in.py' with WatchFiles? I have to close the terminal from windows task manager center, |
Beta Was this translation helpful? Give feedback.
Answered by
falkoschindler
Jan 10, 2025
Replies: 1 comment 3 replies
-
Most often you have some other process running which is not properly shut down when uvicorn tries to reload. Please provide a minimum reproducible code example. This would allow us and the community to help more efficiently. Thanks! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reload=False
doesn't match your problem description that something is trying to reload.Anyway, I wonder if the inner while loop is preventing the app from terminating, because it doesn't check for
app.is_stopped
. And there's also the stateapp.is_stopping
, which might be worth checking too.