lambdaisland / kaocha

Full featured next gen Clojure test runner
https://cljdoc.org/d/lambdaisland/kaocha/1.0.861/doc/1-introduction
Eclipse Public License 1.0
796 stars 82 forks source link

Circular dependency exits watch mode #372

Closed frenchy64 closed 1 year ago

frenchy64 commented 1 year ago

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