Skip to content

Commit

Permalink
Update src/noir/server/handler.clj
Browse files Browse the repository at this point in the history
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
jcrossley3 committed Sep 14, 2012
1 parent d18e315 commit 79bce2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/noir/server/handler.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 79bce2d

Please sign in to comment.