Skip to content

Circular dependency exits watch mode #372

@frenchy64

Description

@frenchy64

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🤝Completed by Community

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions