cider

A channel dedicated to the Clojure Interactive Development Environment that Rocks (aka CIDER). :cider:
zackteo 2021-06-21T11:30:57.160900Z

Hello, is there a way to require dependencies on the fly instead having to restart the repl (that is already built into cider)? Like in the case of using cider-scratch I would have to add to my global project.clj to be able to test something out. (p.s. I know there a library for this but i also forgot what it is called/how it works)

zackteo 2021-06-21T11:36:51.161300Z

Right pomegranate

zackteo 2021-06-21T11:41:35.161700Z

How does this work with cider? :o After adding it to my deps.edn. I know cider injects it in but what do I call to require the new libraries

zackteo 2021-06-21T11:44:16.162Z

Also I might already be using cljr-refactor and seems like that might work

2021-06-21T13:10:38.162200Z

(comment
  (do
    (require '[clojure.tools.deps.alpha.repl :refer [add-libs]])
    (add-libs '{some/library {:mvn/version "RELEASE"}})))

2021-06-21T13:12:51.162400Z

I guess you could also do it from deps.edn file to not loose track