Wednesday, June 8, 2011

Enable Grails recompile feature

When developing in Grails under a custom environment using

-Dgrails.env=custom_environment

the recompilation feature is disabled. In order to enable it again for a certain environment the flag

-Ddisable.auto.recompile=false

needs to be specified.

If you want to also support GSP reloading, specify the flag

-Dgrails.gsp.enable.reload=true

No comments:

Post a Comment