tpope / vim-fireplace

fireplace.vim: Clojure REPL support
https://www.vim.org/scripts/script.php?script_id=4978
1.75k stars 139 forks source link

Can't get :Piggieback to connect to my browser REPL. #177

Closed Peeja closed 9 years ago

Peeja commented 10 years ago

I may be misunderstanding how it's supposed to work, but if so, I can't figure out what I'm missing.

Minimal app with steps to reproduce.

Peeja commented 10 years ago

(Oh, and also? fireplace.vim is freaking magical. Thank you. A million times, thank you.)

tpope commented 10 years ago

Do you have Piggieback working outside of Vim? What cemerick.piggieback/cljs-repl invocation are you using?

Peeja commented 10 years ago

Ohhhhh.

(cemerick.piggieback/cljs-repl :repl-env fireplace-brepl-demo.core/repl-env) at the REPL gives me the same error. I thought I had gotten that to work, but actually it's (cljs.repl/repl fireplace-brepl-demo.core/repl-env) that works.

Oddly, cemerick.austin.repls/cljs-repl, which is supposed to pick the correct one of those, picks cemerick.piggieback/cljs-repl, and fails. (I don't actually understand how either of them work at this point, so I don't get the difference.)

micimize commented 9 years ago

I'm having a similar issue - after :Piggieback 9000 there's a connection, but :Evals hang forever. Haven't been able to get any other form of brepl to work, either

Peeja, did you find a fix for this or some other way of using a cljs brepl from vim? I haven't yet

micimize commented 9 years ago

Turns out the problem was caused by the ad blocker extension for chrome and firefox