Permalink
Browse files

Try to accommodate older dynapath versions, which noir drags in.

  • Loading branch information...
1 parent 58ae4ae commit b1fa726f1582879c77b17674029791479f7b6616 @jcrossley3 jcrossley3 committed Mar 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/web/src/main/clojure/immutant/web/middleware.clj
@@ -38,7 +38,7 @@
"Default reload-paths to all directories in the classpath, whether
they exist at time of deployment or not"
[options]
- (let [cp (map io/file (dynapath.util/all-classpath-urls))
+ (let [cp (map io/file (dynapath.util/all-classpath-urls (clojure.lang.RT/baseLoader)))
dirs (map str (remove #(and (.exists %) (not (.isDirectory %))) cp))]
(:reload-paths options dirs)))

0 comments on commit b1fa726

Please sign in to comment.