This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-02
Channels
- # announcements (25)
- # babashka (76)
- # beginners (74)
- # biff (36)
- # calva (11)
- # cider (5)
- # clerk (43)
- # cljs-dev (4)
- # cljsrn (12)
- # clojure (111)
- # clojure-austin (14)
- # clojure-europe (82)
- # clojure-nl (2)
- # clojure-norway (5)
- # clojure-uk (1)
- # clojurescript (36)
- # core-async (13)
- # cursive (30)
- # datomic (12)
- # fulcro (6)
- # honeysql (9)
- # hyperfiddle (73)
- # instaparse (3)
- # introduce-yourself (1)
- # membrane (40)
- # nbb (2)
- # off-topic (6)
- # other-languages (9)
- # polylith (33)
- # reagent (2)
- # reitit (7)
- # rum (7)
- # shadow-cljs (47)
- # tools-deps (10)
- # vim (11)
- # xtdb (16)
clj by default loads aliases from $HOME/.clojure/deps.edn
. Is there a way to extend the list of deps.edn loaded by the clj tool?
E.g. I have project specific aliases that I don't want in my $HOME/.clojure/deps.edn and I don't want it in the project deps.edn
you can set CLJ_CONFIG environment variable to point to custom deps.edn https://clojure.org/reference/deps_and_cli#deps_sources there is also relevant question https://ask.clojure.org/index.php/9849/teams-common-dependencies-tooling-across-multiple-projects?show=9849#q9849
Hi! I'm relatively new to library development, and want to make a library and an app that uses that library. I thought I'd use deps.edn and :local/root
to develop the library and the app that uses the library locally.
When I'm working locally with my REPL, is it possible to have a repl in my app that picks up changes in my library source code? How does that work? Is your workflow similar to this when you are developing a library?
Specifically, I'm using Doom Emacs and CIDER, but I assume the REPL question is somewhat independent of editor. Thanks!
depends what exactly you mean by "picks up changes". nothing will automatically change your running Clojure to reflect changes in the library code, but you can (via several means) reload those namespaces to have those changes take effect (without restarting your repl)