Skip to content

Instantly share code, notes, and snippets.

@zamaterian
Created May 15, 2012 12:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zamaterian/2701439 to your computer and use it in GitHub Desktop.
Save zamaterian/2701439 to your computer and use it in GitHub Desktop.
reload clojure namespace
(defonce ignored-namespaces (atom #{}))
(defn reload-all []
(doseq [n (remove (comp @ignored-namespaces ns-name) (all-ns))]
(require (ns-name n) :reload )))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment