Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update src/noir/server/handler.clj

This currently only works by accident, because wrap-reload's default
is the same. :)
Recent versions of ring-devel have changed the signature to expect an 
options map with a :dirs key.
  • Loading branch information...
commit 79bce2d7dfe27a0703d62c32c9fcb175d71fcc05 1 parent d18e315
@jcrossley3 jcrossley3 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/noir/server/handler.clj
View
2  src/noir/server/handler.clj
@@ -57,7 +57,7 @@
(defn- wrap-route-updating [handler]
(if (options/dev-mode?)
- (wrap-reload handler ["src"])
+ (wrap-reload handler {:dirs ["src"]})
handler))
(defn- wrap-custom-middleware [handler]
Please sign in to comment.
Something went wrong with that request. Please try again.