magomimmo / modern-cljs

A series of tutorials on ClojureScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLJS repl only works if I refresh the tab

kuwze opened this issue · comments

commented

Upon connecting with C-c M-c (which is cider-connect) and connect to the boot REPL, and then run (start-repl), it seems to get stuck:

boot.user> (start-repl)
<< started Weasel server on ws://127.0.0.1:41697 >>
<< waiting for client to connect ... Connection is ws://localhost:41697
Writing boot_cljs_repl.cljs...

Sometimes refreshing the page helps it connect, but I can't seem to find a good solution to this problem. Is this normal? What should I do to fix it?

Also, when it does work I often get a warning (I am assuming it's not an error because start-repl is successful):

boot.user> (start-repl)
<< started Weasel server on ws://127.0.0.1:40159 >>
<< waiting for client to connect ... Connection is ws://localhost:40159
Writing boot_cljs_repl.cljs...
connected! >>
#object[InternalError InternalError: too much recursion]
No stacktrace available.
To quit, type: :cljs/quit
nil