boot-cljs icon indicating copy to clipboard operation
boot-cljs copied to clipboard

enable-console-print! doesn't work on browser refresh

Open ftravers opened this issue 9 years ago • 2 comments

(enable-console-print!) doesn't work on browser refresh, all subsequent (println "blah") statements dont print. On file edit/refresh everything works fine...just clicking reload in the browser doesnt?

ftravers avatar Apr 20 '16 15:04 ftravers

This seems to be a strange interaction with boot-cljs-repl as the issue only occurs if the repl is used. Repro case can be found here: https://github.com/martinklepsch/println-bug

martinklepsch avatar Apr 20 '16 19:04 martinklepsch

I thought this might have been fixed by: https://github.com/adzerk-oss/boot-cljs-repl/commit/883a397cdcb1ad04fc50298bb1bfdc49c1ce7db3 but report in Slack says otherwise.

This needs more investigation to find the cause.

Meanwhile using cljs-devtools and js/console.log should work.

Deraen avatar Aug 15 '16 23:08 Deraen