This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-24
Channels
- # aleph (3)
- # beginners (17)
- # boot (8)
- # cider (61)
- # cljdoc (13)
- # cljs-dev (2)
- # clojure (66)
- # clojure-boston (1)
- # clojure-italy (4)
- # clojure-nl (7)
- # clojure-russia (7)
- # clojure-spec (19)
- # clojure-uk (80)
- # clojurescript (73)
- # core-async (4)
- # cursive (6)
- # data-science (1)
- # datomic (33)
- # docs (13)
- # emacs (17)
- # figwheel-main (28)
- # fulcro (12)
- # graphql (1)
- # jobs (3)
- # leiningen (4)
- # luminus (1)
- # off-topic (1)
- # parinfer (1)
- # pedestal (46)
- # protorepl (3)
- # re-frame (30)
- # reagent (47)
- # reitit (10)
- # ring (1)
- # shadow-cljs (94)
- # spacemacs (12)
- # specter (16)
- # tools-deps (6)
- # uncomplicate (1)
- # vim (9)
Hi! I'm working on a friendly beginner experience for https://github.com/ingesolvoll/kee-frame, specifically configuration errors, function argument specs etc. It would be very nice to plug these into the figwheel error viewer. Is that something that is practically possible, or even desirable? My first idea was to "steal" the figwheel markup and write the logic myself, but the thought of plugins for figwheel sounds pretty appealing to me 🙂
I'm evaluating if we can replace figwheel-sidecar with figwheel-main, this is for http://nextjournal.com. We have a handful of separate builds, some for the browser, one that targets node, one that runs in webworker. What we did before was start/stop figwheel from Integrant, and then have (${build-id}-cljs-repl)
functions to switch to a particular REPL.
Looking at figwheel.main/start
, it seems it's not possible to start the building/watching and then switch to a REPL later on. It also doesn't seem possible to stop the ring server once it's started, so we can't do a restart short of killing the process.
Should we use lower level APIs to achieve this? Are there any changes planned to make this kind of setup easier?
@plexus I haven't created the REPL API yet. I have an issue for that. The REPL switching part is interesting and currently harder. If you are wanting start stop the figwheel ring server, I'd suggest that you have your own ring-server at that point.
Thanks, that's good to know. Thank you for all the hard work! We'll stick with sidecar for the time being then.
@ingesol unfortunately the figwheel-main heads up display is part of a state-machine that tracks the state of the build, so inserting new messages is tough
when I say unsolved I mean I haven't come up with a solution that I'm satisfied with that is better than printing to the console
@bhauman Right, I was probably naive to think that having this level of feedback is just a bit of yellow ink and a message 🙂
Are there plans to merge build files like we merge compile options? We have a bunch of builds that share a good chunk of parameters.
Alternatively, since -co
is merge-able, is there a way to set a -co
for -bb
?