In ./bin/kaocha --watch mode, if a circular dependency is introduced in user code, the entire process stops. Perhaps this could be treated as a special kind of compilation error that lets the process live, but attempts to resurrect the namespace tracker after updated user code is detected.
In
./bin/kaocha --watch
mode, if a circular dependency is introduced in user code, the entire process stops. Perhaps this could be treated as a special kind of compilation error that lets the process live, but attempts to resurrect the namespace tracker after updated user code is detected.Minimal reproduction: https://github.com/frenchy64/kaocha-circular-watch-reprod