Closed kennethkalmer closed 7 years ago
Sorry for not replying earlier but thanks for bringing this up. Its definitely an issue that with some types of reloading problems test-refresh stops refreshing.
There are some other non-test-refresh things I need to finish before I'll get a chance to look into this problem. I've been aware of this problem for a while (who doesn't accidentally introduce a circular dependency every once in a while) but I can't remember if I attempted to fix it at one point and failed or just deprioritized looking into a fix.
@kennethkalmer What version of lein-test-refresh are you using? I went to look into this today and was unable to recreate using the latest (0.18.0
). Looks like it already was fixed!
I was on 0.16.0
. Bumping and carrying on, thanks for the feedback!
@kennethkalmer Just caught a problem with the 0.18.0 release. Released 0.18.1 that fixes the problem.
When I create a circular dependency during refactoring (more often than I'd like to admit), test-refresh just stops and I need to restart it completely. The stacktrace printed to the console looks something like this:
When I start it up again the exception is more useful to help trace down the circular dependency and get it fixed.