Fork me on GitHub
#figwheel
<
2018-02-23
>
genekim05:02:31

@bhauman — took 20m to upgrade to 0.5.15-SNAPSHOT. Seems to work great from MacOS terminal. Also works inside of Cursive — having a little trouble with some REPL commands to print re-frame app-db… Rolling back to old version to see if it has anything to do with new figwheel…

genekim05:02:39

0.5.14: REPL session looks like

(in-ns 'trello-workflow.events)
=> nil
(def x @re-frame.db/app-db)
=> #'trello-workflow.events/x
0.5.15-SNAPSHOT:
dev:cljs.user=> (in-ns 'trello-workflow.events)

dev:trello-workflow.events=> (def x @re-frame.db/app-db)
----  Compiler Warning on   <cljs form>   line:1  column:9  ----

  Use of undeclared Var re-frame.db/app-db

  1  (def x @re-frame.db/app-db)
             ^--- 

----  Compiler Warning  ----
#'trello-workflow.events/x
dev:trello-workflow.events=> x
{:board-lists [],
 :move-save-old-board-id nil,
 :current-card-comments [],
 :new-list-form "",
 :name "re-frame",
:
:
:

genekim05:02:43

@bhauman — huh… 0.5.15 gives a warning that 0.5.14 doesn’t give, but I can still access the x… I guess it still “works”, but something seems amiss?

genekim05:02:29

@bhauman — wow, color output is really awesome… I think I’m going to really miss color in the Cursive REPL!!!!

mathpunk07:02:18

@bhauman Looks good (actually, great) on Arch 4.15.2-2, OpenJDK Java 8

bhauman14:02:46

@genekim Thanks for the info. 🙂 What version of clojurescript were you using before you upgraded figwheel in your example?

bhauman15:02:48

@genekim I have confirmed this behavior and I'm looking for the problem, thanks!

genekim16:02:59

Realized after I went to bed that I should have specified ClojureScript versions. For your reference, here’s my project.clj dependencies.

bhauman19:02:36

@genekim can you confirm that you just need to do a lein clean to prevent the behavior you mentioned above? That's hat it took to fix mine

genekim20:02:04

Alas, no. Lein clean and rebuild still resulted in warning. I tried numerous times (uh, I’m almost certain). :) Happened with lein figwheel and inside cursive REPL. I will try again tonight though! Hoping it’s that easy! @bhauman