Fork me on GitHub
#lein-figwheel
<
2016-06-20
>
Macroz12:06:38

I'm developing with in the REPL with figwheel in a re-natal app. If I println in a function I get the result in the REPL. Howver, if I do a POST request (with cljs-ajax) and put a println in the callback, it does not get printed. Does anyone know why this happens? Thanks.

bhauman17:06:30

This is fixed in the latest figwheel [0.5.4-3]

mrg17:06:18

Hey @bhauman: doing a :websocket-url "ws://[server-ip]..." works fine when doing "lein figwheel" in the command line, but fails using the cider setup. Is there any special sauce that I need to add to the

(do (require 'figwheel-sidecar.repl-api)
           (figwheel-sidecar.repl-api/start-figwheel!)
           (figwheel-sidecar.repl-api/cljs-repl))
to make it work?

bhauman17:06:31

What version of figwheel are you using?

bhauman17:06:06

Well that is strange

mrg17:06:06

oooh but not of fighweel-sidecar

mrg17:06:23

yup, that worked!

mrg17:06:31

Thank you!!

bhauman18:06:04

Sweet 🙂