I'm having the same issue. Here's a project with a "timeout" loop demonstrating the problem:
https://github.com/zentrope/clock Using core.async SNAPSHOT and any clojurescript release after 1859 seems to break along the same lines as the OP. Other elements I have going: - cljsbuild 0.3.3 - prismatic 0.1.2 but they don't seem to cause issues with 1859. If you've got any tips on using core.async master (maybe using lein's checkout feature?) I wouldn't mind trying that. On Sep 16, 2013, at 3:32 PM, David Nolen <dnolen.li...@gmail.com> wrote: > Which versions of ClojureScript and core.async are you using? > > David > > > On Mon, Sep 16, 2013 at 5:25 PM, David Pollak <feeder.of.the.be...@gmail.com> > wrote: > Howdy, > > I'm using core.async and ClojureScript and it seems that inside a go block, > if/when/loop/while code is never executed. > > For example: > > (def dog33 (go (if true (.log js/console "it's true") (.log js/console > "it's false")))) > > prints neither "it's true" nor "it's false", but > > (def dog33 (go (do (.log js/console "it's true") (.log js/console "it's > false")))) > > prints both. > > I'm doing lein cljsbuild auto to generate the JavaScript. > > Any pointers would be appreciated. > > Thanks, > > David > > -- > Brick Alloy http://brickalloy. > Lift, the simply functional web framework http://liftweb.net > Follow me: http://twitter.com/dpp > Blog: http://goodstuff.im > > > -- > -- > 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. > > > -- > -- > 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. -- -- 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.