Permalink
Browse files

fixed broken evaluation of grails.reload.enabled system property

  • Loading branch information...
graemerocher committed Sep 6, 2012
1 parent 9054684 commit ca5690030931bb4403d36eae714e2ae3707b0bdc
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/_GrailsRun.groovy
@@ -49,8 +49,8 @@ recompileFrequency = System.getProperty("recompile.frequency")
recompileFrequency = recompileFrequency ? recompileFrequency.toInteger() : 3
// Should the reloading agent be enabled? By default, yes...
-isReloading = Boolean.getBoolean("grails.reload.enabled")
-isReloading = isReloading != null ? isReloading : true
+isReloading = System.getProperty("grails.reload.enabled")
+isReloading = isReloading != null ? isReloading.toBoolean() : true
shouldPackageTemplates = true

0 comments on commit ca56900

Please sign in to comment.