Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.4.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      Mos added a comment -

      There is a undocumented grails configuration parameter, which alllows to activate GSP reloading for a custom environment
      (just put the parameter in your custom env. config section in Config.groovy):

      grails.gsp.enable.reload=true

      But reloading for controllers, domain-object, services doesn't work currently. The documented system properties
      "disable.auto.recompile", " recompile.frequency" doesn't seem to have any meaning for a custom environment ?

      Show
      Mos added a comment - There is a undocumented grails configuration parameter, which alllows to activate GSP reloading for a custom environment (just put the parameter in your custom env. config section in Config.groovy): grails.gsp.enable.reload=true But reloading for controllers, domain-object, services doesn't work currently. The documented system properties "disable.auto.recompile", " recompile.frequency" doesn't seem to have any meaning for a custom environment ?
      Hide
      Graeme Rocher added a comment -

      Moving non-critical issues that aren't going to make it into 1.1 to 1.2

      Show
      Graeme Rocher added a comment - Moving non-critical issues that aren't going to make it into 1.1 to 1.2
      Hide
      Jim Morris added a comment -

      This is pretty critical for me, as I run my integration tests against a test environment and having to kill and rerun the server every time I fix a test is very slow.

      I tried this with 1.2.0RC1, but it did not recompile.

      grails -Dgrails.env=test -Ddisable.auto.recompile=false run-app

      Show
      Jim Morris added a comment - This is pretty critical for me, as I run my integration tests against a test environment and having to kill and rerun the server every time I fix a test is very slow. I tried this with 1.2.0RC1, but it did not recompile. grails -Dgrails.env=test -Ddisable.auto.recompile=false run-app
      Hide
      Thomas Pasch added a comment -

      Still the same with grails-1.2.2. I wonder about the 'minor' priority, and could imagine many scenarios where this hurts...

      Show
      Thomas Pasch added a comment - Still the same with grails-1.2.2. I wonder about the 'minor' priority, and could imagine many scenarios where this hurts...
      Hide
      Neil Yalowitz added a comment -

      Verified, this doesn't work:

      grails -Dgrails.env=myEnvironment -Ddisable.auto.recompile=false run-app

      The grails environment must be "development" or auto recompile / reload of classes and GSPs does not occur. Doc page:

      http://www.grails.org/doc/1.0.x/ref/Command%20Line/run-app.html

      Show
      Neil Yalowitz added a comment - Verified, this doesn't work: grails -Dgrails.env=myEnvironment -Ddisable.auto.recompile=false run-app The grails environment must be "development" or auto recompile / reload of classes and GSPs does not occur. Doc page: http://www.grails.org/doc/1.0.x/ref/Command%20Line/run-app.html
      Hide
      Chris Love added a comment -

      Reloading support also does not work if you change the port number that tomcat is running on ...

      Show
      Chris Love added a comment - Reloading support also does not work if you change the port number that tomcat is running on ...

        People

        • Assignee:
          Unassigned
          Reporter:
          Marc Palmer
        • Votes:
          23 Vote for this issue
          Watchers:
          22 Start watching this issue

          Dates

          • Created:
            Updated:
            Last Reviewed:

            Development