Skip to content
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

lein cljsbuild auto exits on compilation failures #249

Closed
grncdr opened this issue Oct 21, 2013 · 4 comments
Closed

lein cljsbuild auto exits on compilation failures #249

grncdr opened this issue Oct 21, 2013 · 4 comments
Milestone

Comments

@grncdr
Copy link

grncdr commented Oct 21, 2013

I'm not sure if this is expected behaviour or something wrong with my setup. When I run lein cljsbuild auto and save a file with invalid clojurescript code, the compilation failure causes lein to exit. This means I lose the running JVM and need to wait another ~30s for the next compilation (during which I'm really hoping I fixed the compilation error).

It seems that the compilation should fail and errors should be printed, but the process should stick around waiting for the next file change to try again.

@cemerick
Copy link
Collaborator

Ech, yeah, that was caused by 2df0425. Dammit. :-)

Will need to tweak that to only abort when not running auto. Workaround until then is to use version 0.3.3.

@grncdr
Copy link
Author

grncdr commented Oct 21, 2013

ah, the workaround is good enough for me for now, as I'm in the exploratory phase. Glad to hear it's a regression and not the intended behaviour 😸

@cemerick
Copy link
Collaborator

This fix is now on clojars in 1.0.0-SNAPSHOT, give it a shot.

@grncdr
Copy link
Author

grncdr commented Oct 26, 2013

So far so good 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants