Closed Pancia closed 8 years ago
Yeah, test-refresh has never really dealt with errors thrown from tools.namespace on malformed ns
forms. It would be a nice addition.
I haven't tried to implement it yet but I think scan-for-changes
probably needs to return something that indicate what error happened and the previously passed in tracker when an exception happens. Then other code would need to provide a message to the user.
If you don't get to it this week I'll take a stab at it.
This was fixed in the referenced PR.
When I have test-refresh open and I somehow save a file with a [] in its requires it causes this crash. Which I causes me to have to restart test-refresh.
My guess is that a try-catch around src/com/jakemccrary/test_refresh.clj#L18 should help, but I'm not sure what should be returned.
I should have time to fix this sometime this week, but I figured I would put this out there until then.