This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-14
Channels
- # announcements (3)
- # aws (7)
- # babashka (108)
- # beginners (222)
- # bristol-clojurians (3)
- # calva (8)
- # chlorine-clover (1)
- # cider (14)
- # clj-kondo (4)
- # cljdoc (6)
- # cljs-dev (89)
- # cljsrn (13)
- # clojars (6)
- # clojure (89)
- # clojure-australia (1)
- # clojure-europe (11)
- # clojure-italy (9)
- # clojure-losangeles (11)
- # clojure-nl (6)
- # clojure-spec (2)
- # clojure-sweden (1)
- # clojure-uk (9)
- # clojurescript (47)
- # conjure (18)
- # datomic (7)
- # docker (1)
- # figwheel (43)
- # figwheel-main (2)
- # fulcro (31)
- # kaocha (3)
- # leiningen (7)
- # luminus (2)
- # nrepl (14)
- # off-topic (24)
- # pathom (5)
- # pedestal (5)
- # rdf (4)
- # re-frame (49)
- # reagent (12)
- # reitit (9)
- # rum (21)
- # shadow-cljs (109)
- # tools-deps (35)
- # vim (8)
- # wasm (1)
@bhauman yes, it’s a part of the :plugins
vector.
That’d be fine in my own personal project, but if I do it globally in this project, I’ll break readline functionality for those of my colleagues who use it.
Is it possible to put into a profile that can be +
’d at startup?
But it’d have to be merged with the options from the other profile(s).
So something like :no-readline {:figwheel {:readline ^:replace false
that could work you may also need to remove the rebel-readline library in the profile as well
How do I instruct start-figwheel!
to merge profiles?
Currently I’m pointing towards my build profile, like (ra/start-figwheel! "my-profile")
Is it an either/or thing? Either I supply the entire build information on my call, or I refer to exactly 1 profile?
Cool! I’ll try that.
@bhauman that worked great for merging the :figwheel
options. However, the dependency is mentioned in our project.clj like
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.19"
:exclusions [org.clojure/clojurescript
org.clojure/core.async]]
[com.bhauman/rebel-readline "0.1.4"]
...
And that does not seem to be available from the config.
The REPL is running, and the config ends up having the :readline false
set in :figwheel
for the desired build
but it does not get rid of rebel-readline
Maybe it’s just not possible with the way our :profiles
is set up?
Hm, ok.
Thought you said I might need to remove the dep as well.
Just for fun, I’ll try testing it without the dep
Right, I’m not prompted when the dependency is not present. Verified 🙂
Should I file this properly at the lein-figwheel
github repo?
Amazing 😄
Thanks for figwheel, btw, it’s great! I think it’s part of the reason I got so into CLJS to begin with.