Skip to content
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...
1 parent d18e315 commit 79bce2d7dfe27a0703d62c32c9fcb175d71fcc05 @jcrossley3 jcrossley3 committed Sep 14, 2012
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]

0 comments on commit 79bce2d

Please sign in to comment.
Something went wrong with that request. Please try again.