Disclaimer: Auto-reboot always worked for me on my Mac.
I found a couple of things that might be helpful.
Firstly, it seems like starting up a custom environment (which is not dev) disables automatic reloading ( https://stackoverflow.com/a/212510/167 ), so you will want to follow the directions in this post if you launch the application this way.
Secondly, if you use the application as a war, for sure autoload is disabled. ( See Grails auto-reload page )
Third, I found that using the Grails IDE (like IntelliJ or SpringSource) really adds more stability to the Grails development environment. For example, IntelliJ does not use the Grails shell file, which comes with binary download. It manually calls banks and Grails boot files.
My questions for you:
What does the rest of your environment look like? How do you launch an application (run-app or another container)?
What Grails plugins have you installed (the Grails documentation says that the tomcat plugin is configured for optimal automatic reboots)?
Do you have any other Grails binaries downloaded to your computer (may cause confusion when downloading)?
And finally, can you reproduce this problem in a clean environment (what does the new Grails binary, the new Grails creation application mean)?
I also recommend reading the Deployment section of the Grails documentation ( found here ). It contains some information about rebooting.
I apologize for the long-awaited and potentially unanswered response, but I hope this triggered an idea or two. Let me know how it works!
Jonathan larson
source share