Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@arohner
Created March 13, 2015 20:06
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 arohner/c5e0fa45229c408301e2 to your computer and use it in GitHub Desktop.
Save arohner/c5e0fa45229c408301e2 to your computer and use it in GitHub Desktop.
(defn wrap-reloading [{:keys [reloading?] :as args}]
(if reloading?
(fn [req]
((#'handler args) req))
(handler args)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment