I can’t seem to setup figwheel with my own jetty http server, as per Figwheel’s separate server example. https://github.com/bhauman/lein-figwheel/tree/master/examples/separate-server
[figwheel-sidecar “0.5.10-SNAPSHOT”]
doesn’t seem to be available on clojars or maven central.
Anyone have this working?
...
Oh nevermind. Just cloned and installed locally.
...
> I was able to get Figwheel's separate server example working. https://github.com/bhauman/lein-figwheel/tree/master/examples/separate-server
> When I tried lein figwheel
in a test app of my own, my server is launched, but no repl launches. What am I missing?
https://github.com/twashing/figwheel-docker/blob/master/project.clj
https://github.com/twashing/figwheel-docker/blob/master/dev/user.clj
> Also, from a cider-jack-in
repl, manually running fig-start
no longer launches my custom jetty server (https://github.com/twashing/figwheel-docker/blob/master/dev/user.clj#L70)
@twashing : Just for getting a snapshot going without cloning: http://stackoverflow.com/questions/42701923/how-to-load-latest-clojure-lib-from-git-repository/42703267#42703267
@cjmurphy Ah I see what you’re saying. Nice!
Sorted out my problem btw. Just needed this entry in my project.clj
{ :figwheel { :ring-handler user/http-handler } }
https://github.com/twashing/figwheel-docker/blob/master/project.clj#L68
@twashing yeah you can use 0.5.9, my assumption that that was clear was near sighted