emezeske/lein-cljsbuild — Issue #13: Some ClojureScript compile errors drop auto mode
Author: seancorfield
Created: 2012-01-18 07:12:06+00:00
State: open

When running lein cljsbuild auto, if your ClojureScript code has syntax errors, the compiler throws an exception and the auto build exits so you have to restart it.

The exception could be caught here:

at cljsbuild.core$compile_cljs.invoke(core.clj:37)

An example error that causes this:

Exception in thread "main" java.lang.RuntimeException: java.lang.AssertionError: Assert failed: set! target must be a field or a symbol naming a var