When running the grails console with any system property parameter (-D), the auto reloading feature does not work anymore. To replicate the problem, follow these steps:
1. Run grails console with the -D param. You can use any system property, for example:
2. Run the application using run-app command
3. Change any codes in the application.
4. Grails console does not show any log message telling that the code change has been compiled. The changes do not get applied also in the running application.
Only after removing the -D param when running Grails console, the auto reloading feature works again.
I have tested this behavior only with Grails 2.0.1.