Closed pascalwhoop closed 1 month ago
Thanks @pascalwhoop for reporting this, we'll add this to our back log and have a look soon.
@pascalwhoop -- just want to confirm that in previous releases of Kedro-Viz, u didn't encounter this issue ? So if you go back to release 9.0.0, you don't face it?
I haven't tested older versions
Hey, after some digging, I found that this issue doesn’t occur for kedro-viz >= 9.2.0
. The reason I believe this happens in earlier versions, like 9.1.0
, is due to a bug in Uvicorn 0.29.0
.
In Kedro-Viz 9.2.0
, Uvicorn
was upgraded from uvicorn[standard]~=0.29.0
to uvicorn[standard]>=0.30.0
. Version 0.30.0
of Uvicorn
has some new multiprocess manager and improved signal handling, which likely resolved the "KeyboardInterrupt" errors during --autoreload
. See their release-notes.
Upgrading Kedro-Viz to >=9.2.0
should resolve the problem.
Description
Using kedro viz run --autoreload, when updating code I get errors, making autoreload unusable
Your Environment
Include as many relevant details as possible about the environment you experienced the bug in: