I was consistently experiencing this issue, and upgrading to leiningen 2.2.0 fixed it for me. The root issue was in nrepl:
http://dev.clojure.org/jira/browse/NREPL-39 It was fixed in nrepl-0.2.3, which got into leiningen-2.2.0 via reply-0.2.0. On Tuesday, 26 February 2013 07:55:01 UTC-5, David Nolen wrote: > > Feel free to open a ticket in JIRA. More details would be helpful and a > patch would be nice. Thanks! > > On Monday, February 25, 2013, Bobby Wang wrote: > >> Update: this seems to only happen if I start the CLJS REPL inside a CLJ >> REPL. If I start straight from the command line (ie. lein trampoline >> cljsbuild repl-listen) it's fine. >> >> On Monday, 25 February 2013 19:22:06 UTC-5, Bobby Wang wrote: >>> >>> Hi, >>> >>> Sometimes when I start the CLJS browser REPL and evaluate something like >>> js/alert, the alert runs fine, but after a few seconds it goes into an >>> infinite loop while repeatedly printing "*ClojureScript:cljs.user> >>> java.io.IOException: Write end dead*". >>> >>> The same thing happens on ClojureScript One, which I think uses older >>> dependencies. >>> >>> Any idea what might be wrong? >>> >>> My setup: >>> >>> * clojure 1.4.0 >>> * clojurescript 0.0-1586 >>> * lein-cljsbuild 0.3.0 >>> * Mac OS X 10.8.2 >>> * Java 1.6.0_41 that came with OS X >>> * Also tried to install Oracle's Java 7, but it doesn't seem to work out >>> of box yet >>> >>> Much appreciated, >>> >>> Bobby >>> >> >> -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.