This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-23
Channels
- # 100-days-of-code (1)
- # adventofcode (13)
- # aleph (1)
- # beginners (48)
- # boot (10)
- # calva (52)
- # cider (18)
- # cljsrn (23)
- # clojure (68)
- # clojure-uk (9)
- # clojurescript (5)
- # cursive (3)
- # datomic (4)
- # figwheel (7)
- # fulcro (14)
- # hoplon (2)
- # leiningen (5)
- # lumo (3)
- # off-topic (87)
- # overtone (5)
- # reitit (5)
- # rum (8)
- # shadow-cljs (7)
- # spacemacs (15)
@bobby.harris that’s a type in the readme. that needs to be the main namespace of your clojurescript build
but actually I’m spinning up a new project and I’m having some difficulty with the bridge you may want to wait until I’ve sorted it out first.
@bobby.harris I just fixed the typo in the readme
@bhauman thanks! I've got to the hello there screen, so progress! thanks! Working on the reload, which, at this point only seems to happen when i hit "rr" in the emulator. (I'm doing android on a chromebook)
yes. let me start from scratch, i had some bumps...
specifically you’ve added (defn on-reload [] (goog/figwheelBridgeRefresh))
in your main ns
so I've done the readme twice now with the same result at the line: "Now we are ready to launch our ClojureScript application:"... I get an error about loading "goog/base.js Perhaps your project was cleaned"... So I'm thinking there is a missing step? Or we are supposed to go to the end before were ready to launch?
no need for sorry! i think we need to have the project.clj before we are ready, though... no?
yes you need to start figwheel somehow, you only need a project.clj if you are using lein figwheel
@bobby.harris it is a bit finicky, the bridge library needs better errors to help folks understand what went wrong
@bhauman So I'm where i was before. I installed the project.clj made the changes to the main.cljs. I've tried it with autoRefresh true and false but still only update when I hit "rr" in the emulator, which, frankly is not a problem at all at this point, it's the first clojurescript stuff I could get going in the emulator at all, so kudos to you!.
One interesting thing.... the prompt in lein "Prompt will show when figwheel connects" continues to hang....
but code is getting recompiled.
its an emulator. it is loading the code and loading updated code... but only when i refresh. Have a nice trip!