Fork me on GitHub
#lein-figwheel
<
2015-11-03
>
jeremyraines15:11:18

the way I was previously getting a figwheel repl going in Emacs doesn’t seem to work. I don’t know if it’s version related

jeremyraines15:11:39

(but I am using 0.5.0-SNAPSHOTfor figwheel and figwheel-sidecar)

jeremyraines16:11:57

@bhauman what’s the significance of using -m clojure.main? I ask because when I start the repl that way, then follow the system steps in the sidecar readme, it all works. When I start it via cider-jack-in with the system stuff in my user.clj as you suggested, it starts Figwheel but it won’t connect on browser load, and so doesn’t get the prompt. Let me know if I should just chill & wait on the coming push

bhauman16:11:34

using clojure.main doesn't start nREPL

bhauman16:11:14

@jeremyraines: cider-jack-in calls lein repl

bhauman16:11:44

these are very different environments. I'm still working on fixing the (cljs-repl) start

bhauman16:11:53

it should be fixed soon

bhauman18:11:47

@jeremyraines: I just fixed the (use 'figwheel-sidecar.repl-api) (cljs-repl) use case make sure you do a lein clean before starting figwheel

jeremyraines18:11:10

sweet, will try it out now

jeremyraines18:11:14

not working for me

jeremyraines18:11:24

still get the message about the system not being started

jeremyraines18:11:41

(I assume I was supposed to comment out the stuff I had put in user.clj)

jeremyraines18:11:57

is there any reason lein-clean would not work as expected?

jeremyraines18:11:04

lein clean i mean

sander19:11:18

@bhauman: there are a few small closing bracket typos in https://github.com/bhauman/lein-figwheel/tree/master/sidecar - do you prefer a pull request or shall i mention them here? (i've been staring at my screen waiting for sys/build-switching-cljs-repl to finish for minutes before realising the command wasn't complete)

sander19:11:40

something else: i'm trying to get remote figwheel on node.js to work (writing code on my mac, while seeing it run on an intel edison) using :websocket-host. the websocket connection is established and an edit triggers a reload on the edison, but it can't find the generated file /home/root/dev/fmp/out/5817F9F.js (since it was generated on the mac). is there an option to have the compiled code sent over websockets as well, or is there another way to get this to work?

sander19:11:00

repl-over-figwheel already works well which is very nice

bhauman23:11:53

@sander would love a PR for such fixes. And no there is currently no support for this. There is nothing simple about the problem. Especially when you consider loading dependencies, proper order etc.

bhauman23:11:14

@sander it's possible but it would take some dev time