Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CLJS-415: Speed up cljsc by exiting after output has been printed

  • Loading branch information...
commit 3842d3f9e0d68853077117a9192222e93e169079 1 parent 5ac1503
@bendlas bendlas authored David Nolen committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 bin/cljsc.clj
View
5 bin/cljsc.clj
@@ -18,4 +18,7 @@
{:source source :options (merge {:output-to :print} options)}))
(let [args (transform-cl-args *command-line-args*)]
- (closure/build (:source args) (:options args)))
+ (closure/build (:source args) (:options args))
+ (.flush *out*)
+ (shutdown-agents)
+ (System/exit 0))

1 comment on commit 3842d3f

@sandover

thanks!

Please sign in to comment.
Something went wrong with that request. Please try again.