-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Watching stops at compile error or compile #34
Comments
You're right – I can reproduce this and it's a bug. The fix might be as simple as adding a try-catch block that eats the exceptions in the watchtower bat-test/src/leiningen/bat_test.clj Lines 52 to 54 in aaff8ff
|
Indeed. Works like a charm.
You drop it in or you want a PR out of it? |
@Kynde - sorry for the slow reply, I was on vacation - please do send a PR! |
This adds a simple try catch block to continue watching files and retry compilation after changes as suggested by @miikka. This fixes issue metosin#34
The fix is released in |
If I hit a compile error during file watching I can't seem to get the file watcher working again without a restart. Pressing Enter recompiles and runs all tests but still I can't get it to go back to watching files even then.
Experienced in auto mode:
Expected:
Also experienced in auto mode:
Expected:
Maybe I'm missing an option or my use case is off, but I thought I'd ask away.
The text was updated successfully, but these errors were encountered: