Permalink
Browse files

Properly fixes the JNotify discovery (previous one was broken)

  • Loading branch information...
1 parent d924dac commit 82fb6f472698cdba3178ebb2f67a2062aec9125b @guillaumebort guillaumebort committed Aug 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/src/sbt-plugin/src/main/scala/PlayReloader.scala
@@ -35,7 +35,7 @@ trait PlayReloader {
var jnotifyJarFile = this.getClass.getClassLoader.asInstanceOf[java.net.URLClassLoader].getURLs
.map(_.getFile)
- .find(_.startsWith("jnotify"))
+ .find(_.contains("/jnotify"))
.map(new File(_))
.getOrElse(sys.error("Missing JNotify?"))

0 comments on commit 82fb6f4

Please sign in to comment.