Skip to content

Commit

Permalink
CLJS-415: Speed up cljsc by exiting after output has been printed
Browse files Browse the repository at this point in the history
  • Loading branch information
bendlas authored and David Nolen committed Dec 2, 2012
1 parent 5ac1503 commit 3842d3f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/cljsc.clj
Expand Up @@ -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
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

Please sign in to comment.