This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-06
Channels
- # aleph (70)
- # announcements (9)
- # babashka (43)
- # babashka-sci-dev (6)
- # beginners (97)
- # cider (2)
- # clj-commons (3)
- # clj-kondo (41)
- # clojure (88)
- # clojure-europe (44)
- # clojure-nl (2)
- # clojure-spec (22)
- # clojurescript (65)
- # community-development (6)
- # conjure (10)
- # cursive (6)
- # datahike (13)
- # datomic (4)
- # eastwood (11)
- # events (1)
- # fulcro (45)
- # graalvm (1)
- # graphql (3)
- # hyperfiddle (3)
- # integrant (7)
- # jobs (1)
- # lambdaisland (1)
- # lsp (58)
- # nbb (4)
- # nrepl (3)
- # pathom (15)
- # shadow-cljs (27)
- # tools-deps (1)
Hello! There is (repl/disable-reload! (find-ns 'integrant.core))
here https://github.com/weavejester/integrant-repl/blob/master/src/integrant/repl.clj#L6. Can someone explain why is it needed? If I use Integrant as a dependency, I cannot change its files, thus it won’t be reloaded, am I wrong?
git archeology ftw ⛏️ https://github.com/weavejester/integrant-repl/pull/7
Thanks, but I still don’t understand when integrant.core reloading may happen. It’s a dependency so you cannot change it, thus tools.namespace will never reload it.
I believe that when you run refresh for the first time, it reloads everything as it doesn't know what, if anything, has been loaded. After the first refresh, it keeps track of what files have changed.