Permalink
Browse files

fix for GRAILS-9118

  • Loading branch information...
graemerocher committed May 17, 2012
1 parent 8526dcd commit 5b3342c2df5960fd881c025d1809bb4d075732cb
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/_GrailsRun.groovy
@@ -26,6 +26,7 @@ import java.net.ServerSocket
import org.codehaus.groovy.grails.cli.ScriptExitException
import org.codehaus.groovy.grails.cli.interactive.InteractiveMode
import org.codehaus.groovy.grails.compiler.GrailsProjectWatcher
+import org.grails.plugins.tomcat.TomcatKillSwitch
/**
* Gant script that executes Grails using an embedded server.
@@ -240,7 +241,7 @@ target(keepServerAlive: "Idles the script, ensuring that the server stays runnin
killFile.delete()
}
- while (keepRunning && org.grails.plugins.tomcat.TomcatKillSwitch.active) {
+ while (keepRunning && TomcatKillSwitch.active) {
sleep(recompileFrequency * 1000)
// Check whether the kill file exists. This is a hack for the

0 comments on commit 5b3342c

Please sign in to comment.