Hi Roger,

Are you using a REPL and is console output going to your REPL? (Some REPL 
implementations queue asynchronously printed output and only print it when a 
response to a form evaluation needs to be printed.)

- Mike

> On Mar 8, 2015, at 3:15 PM, Roger Gilliar <[email protected]> 
> wrote:
> 
> The following code does not work:
> .....
> (did-mount [_]
>        (js/setInterval (fn [] (println "test")) 1000))
> 
> It works if I use (.log js/console "test") instead of println.
> 
> Bug or working as designed ?
> 
> BTW: I called (enable-console-print!)
> 
> 
> 
> -- 
> Note that posts from new members are moderated - please be patient with your 
> first post.
> --- 
> You received this message because you are subscribed to the Google Groups 
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to