This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
Is there a clojure equivalent to common lisps "(asdf:load-system :foo)" ie, i want to re-evaluate the entire package from disk into the repl.
For Clojure, I would use require to load/reload a namespace (I haven't used common lisp)
:reload option may be enough or :reload-all to be sure
There is also a :verbose option to show you what is being loaded
(require 'fully-qualified.namespace.name :reload-all)
If there are changes to the var names, then it may be useful to use the (refresh) function call from clojure.tools.namespace.repl
(require '[clojure.tools.namespace.repl :refer [refresh]])
(refresh)
🎯 3
👍 1