figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
2018-06-13T17:31:51.000576Z

@bhauman I saw a gist of yours (can’t find it now) that demonstrated a “rewrite/simplification of figwheel” I think. Is this a real thing? Perhaps this question is too vague and if so, sorry.

bhauman 2018-06-13T17:32:25.000129Z

yeah it was a while back

bhauman 2018-06-13T17:33:16.000682Z

I've since rewritten figwheel as figwheel-main

bhauman 2018-06-13T17:33:40.000335Z

the gist morphed into https://github.com/bhauman/lein-figwheel/tree/master/figwheel-core

bhauman 2018-06-13T17:34:04.000356Z

it started as https://gist.github.com/bhauman/d731eb4cb54fa187c341aec75f62dd83

bhauman 2018-06-13T17:34:24.000071Z

and figwheel main is here https://github.com/bhauman/lein-figwheel/tree/master/figwheel-main

2018-06-13T17:34:55.000025Z

Thanks for all the details! I’ll look through this. I was interested in what was happening here when I first saw your old gist.

bhauman 2018-06-13T17:34:56.000609Z

its heads and shoulders above the original figwheel

2018-06-13T17:35:17.000294Z

I’m still lagging behind with figwheel-main etc. Need to get caught up

bhauman 2018-06-13T17:35:33.000019Z

there is a #figwheel-main channel

bhauman 2018-06-13T17:35:44.000594Z

if you have any questions hit me up

2018-06-13T17:36:10.000782Z

ah thanks for the pointer, didn’t know that one existed

dogenpunk 2018-06-13T19:15:02.000057Z

Hello! I seem to be blocked adding figwheel to a lein project that also uses datomic pro. Specifically, lein figwheel dies with this exception: Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkState(ZLjava/lang/String;Ljava/lang/Object;)V, compiling:(figwheel_sidecar/repl.clj:1:1)

dogenpunk 2018-06-13T19:15:49.000609Z

Everything I’ve come across about this error points to an incompatibility between guava 18 (datomic) and guava 20+

bhauman 2018-06-13T19:18:11.000130Z

@dogenpunk I think managed deps should help you here correct?

dogenpunk 2018-06-13T19:18:58.000343Z

@bhauman I’ll dive into it. Thanks for the link

bhauman 2018-06-13T19:19:42.000123Z

also lein :tree will help you locate who is specifying guava 20

bhauman 2018-06-13T19:20:22.000712Z

@dogenpunk but if you are feeling a little adventurous, I'd reccomend figwheel.main

bhauman 2018-06-13T19:21:36.000207Z

@bhauman uploaded a file: https://clojurians.slack.com/files/U064J0EFR/FB6S57328/-.php

dogenpunk 2018-06-13T19:21:47.000376Z

@bhauman I was looking at that and I’d love to try it out.

dogenpunk 2018-06-13T19:22:11.000059Z

Thanks for the example setup!

bhauman 2018-06-13T19:22:36.000455Z

yeah I'm working on the template right now so it was at hand

bhauman 2018-06-13T19:22:48.000558Z

and there is a #figwheel-main channel

bhauman 2018-06-13T19:23:16.000576Z

the dependency tree is shallower

dogenpunk 2018-06-13T19:23:31.000372Z

You’ll see me there posthaste