This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-02
Channels
- # announcements (1)
- # babashka (19)
- # beginners (85)
- # calva (1)
- # cider (23)
- # clara (19)
- # clj-kondo (28)
- # clojars (4)
- # clojure (60)
- # clojure-australia (8)
- # clojure-dev (14)
- # clojure-europe (117)
- # clojure-nl (3)
- # clojure-uk (11)
- # clojurescript (68)
- # conjure (2)
- # core-async (39)
- # cryogen (11)
- # cursive (7)
- # data-science (1)
- # datomic (9)
- # emacs (10)
- # etaoin (1)
- # events (1)
- # fulcro (1)
- # helix (10)
- # jobs (4)
- # kaocha (2)
- # keechma (3)
- # leiningen (1)
- # malli (6)
- # pathom (15)
- # pedestal (10)
- # re-frame (5)
- # reitit (1)
- # remote-jobs (1)
- # rum (3)
- # shadow-cljs (18)
- # tools-deps (30)
- # vim (6)
Does anybody here use cljs.spec.test.alpha/instrument
? I just ran into an error, where a var only became instrumented, after deleting .cpcache
. Just a restart and regular clean didn't help ...
it isn't so much about the ns calling instrument, it is more about ensuring that that ns is compiled after all the namespaces you want to be instrumented
rather you were maybe instrumenting a var that just happened to still be compiling when instrument
was already running due to parallel compile
I'm using the no-argument version of instrument
, that would instrument all specced vars. After adding the transitively dependent namespace, that also calls instrument
, to :cache-blockers
, it seems fine ..
yes if you require transitively then the ns calling the instrument
might not recompile
since it is a macro is must be recompiled to reflect the changes done in other namespaces
ok, that's good. because fn-specs are already used pervasively throughout the project, and will be used even more in the future ..
Hello! I wonder how do you debug (with stepping debuger) CLJS code when compiling with shadow? I use Cursive IDE so it would be also nice to find out how that works with debugging.