jacobobryant / biff

A Clojure web framework for solo developers.
https://biffweb.com
MIT License
877 stars 41 forks source link

use add-libs in example project #136

Closed jacobobryant closed 2 years ago

jacobobryant commented 2 years ago

For example:

(defn add-libs []
  (clojure.tools.deps.alpha.repl/add-libs (:deps (edn/read-string (slurp "deps.edn")))))

(defn on-save [sys]
  (add-libs)
  (biff/eval-files! sys)
  ...

So you can add stuff to deps.edn, save the file, and things will just work