This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-03-05
Channels
- # beginners (229)
- # cider (54)
- # cljs-dev (187)
- # cljsrn (1)
- # clojure (187)
- # clojure-dev (5)
- # clojure-italy (31)
- # clojure-losangeles (1)
- # clojure-russia (3)
- # clojure-spec (76)
- # clojure-uk (29)
- # clojurescript (94)
- # cursive (18)
- # datascript (8)
- # datomic (26)
- # docker (6)
- # emacs (19)
- # figwheel (6)
- # fulcro (41)
- # garden (1)
- # graphql (1)
- # hoplon (33)
- # jobs (1)
- # jobs-discuss (1)
- # lein-figwheel (14)
- # leiningen (7)
- # nrepl (10)
- # nyc (1)
- # off-topic (2)
- # onyx (2)
- # parinfer (25)
- # portkey (6)
- # powderkeg (1)
- # protorepl (1)
- # re-frame (14)
- # reagent (14)
- # shadow-cljs (31)
- # spacemacs (3)
- # test-check (33)
- # uncomplicate (1)
- # unrepl (40)
- # vim (5)
- # yada (16)
figwheel uses clojure.java.browse
https://github.com/bhauman/lein-figwheel/blob/bf3e046774c5736af923f0bb4b3964083efb3a58/sidecar/src/figwheel_sidecar/components/cljs_autobuild.clj#L129
clojure.java.browse uses your system xdg-open
(or open
on osx)
https://github.com/clojure/clojure/blob/ef00c7cffad10e6104d333f7f71a29163b06cd0a/src/clj/clojure/java/browse.clj#L66
So, will be very hard you use a not-default browser on figwheel.
Thanks @souenzzo. It's not the answer I was hoping for but it's certainly not the end of the world.
hello! I'm having trouble getting figwheel to reload when replacing the whole document using reagent like this (r/render [(fn [] @current-page)] js/document))
. It still compiles, but I have to refresh manually. Any ideas?
please send you figwheel settings (inside project.clj, :cljsbuild or something like)
@souenzzo here it is. i think its pretty standard. It works great when i just hook into a particular element.
its an attempt at isomorphism. I have a top level component that will hopefully handle the html/header tags and loading scripts across a couple of repos. I wanted to be able to have access to it on the client as well.