:watch-error-fn

compiler optionsince v1.9.456Edit

Function called after a failed build (from cljs.build.api/watch). Receives the exception object as its first arg.

:watch-error-fn (fn [e] (print-my-error e))

See Also: