This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-16
Channels
- # adventofcode (43)
- # announcements (31)
- # aws (2)
- # babashka (58)
- # babashka-sci-dev (4)
- # beginners (107)
- # calva (11)
- # cider (25)
- # clj-commons (8)
- # clj-kondo (24)
- # clojure (35)
- # clojure-argentina (1)
- # clojure-europe (25)
- # clojure-italy (5)
- # clojure-nl (11)
- # clojure-norway (39)
- # clojure-spec (11)
- # clojure-uk (3)
- # conjure (2)
- # core-async (19)
- # cursive (33)
- # data-science (2)
- # datomic (50)
- # deps-new (1)
- # emacs (3)
- # events (4)
- # figwheel-main (10)
- # fulcro (63)
- # graalvm (7)
- # holy-lambda (17)
- # introduce-yourself (1)
- # java (15)
- # jobs (1)
- # jobs-discuss (7)
- # malli (24)
- # meander (16)
- # nextjournal (19)
- # off-topic (2)
- # polylith (4)
- # portal (10)
- # re-frame (3)
- # reagent (19)
- # reitit (14)
- # releases (2)
- # remote-jobs (1)
- # reveal (19)
- # shadow-cljs (1)
- # sql (21)
- # testing (4)
- # xtdb (22)
Do anyone else have the problem with [Figwheel]
logs not showing up in the CIDER repl? Any help would be appreciated.
Reverting back to figwheel-main 0.2.7 solves this issue, so there's something going on with the logging that doesn't suit CIDER.
After poking around for a while, it seems like CIDER is running (figwheel.main/start ...)
too soon for its own liking. The result being that the Figwheel logger prints to somewhere CIDER isn't looking.
In fact, it's the (require 'figwheel.main)
that's the culprit. Being run too soon, the logging is set up in a way that CIDER does not pick up on.
Turns out that doing (require 'figwheel.main)
too soon, will have Figwheel set up a logger before CIDER has captured out - resulting in a Figwheel logger that is ignored. This means I can't have (:require [figwheel.main])
in my user.clj
, but will need to manually require it once the REPL is operational. Would love some input on this. Should I create an issue on figwheel-main github? I'm not sure CIDER can do anything about requires with such bonus side-effects.