Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Disclaimer: Auto-reload has always worked for me on my Mac.</p> <p>I've found a couple of things that might be useful. </p> <p>First, it appears that running a custom environment (that isn't dev) disables auto-reload (<a href="https://stackoverflow.com/questions/1325734/grails-auto-reload-functionality-in-run-app-on-a-custom-environment" title="see this stackoverflow post">see this stackoverflow post</a>), so you'll want to follow the directions in that post if you're running the application that way.</p> <p>Second, if you're running the app as a war, for sure auto-reload is turned off. (<a href="http://grails.org/Auto+Reloading" rel="nofollow noreferrer" title="Grails Auto Reloading Docs">See the Grails Auto-Reload Page</a>)</p> <p>Third, I've found that using a Grails IDE (such as IntelliJ or SpringSource) really adds a lot of stability to the Grails development environment. For example, IntelliJ doesn't use the Grails shell file that comes with the binary download. It manually invokes the Grails jars and bootstraps.</p> <p>My questions to you are: </p> <p>What does the rest of your environment look like? How are you running your application (run-app or another container)? </p> <p>What Grails plugins do you have installed (the Grails documentation says the tomcat plugin is configured for optimal auto-reloading)? </p> <p>Do you have any other Grails binaries downloaded on your computer (could cause confusion when it's trying to load)? </p> <p>And finally, are you able to reproduce this issue in a clean environment (meaning new Grails binary, fresh Grails create-app)?</p> <p>I'd also recommend reading the Deployment section of the Grails documentation (<a href="http://grails.org/doc/latest/guide/deployment.html" rel="nofollow noreferrer" title="Grails Deployment Documentation">found here</a>). It has some pertinent information regarding the reloading.</p> <p>I apologize for the longwinded and potentially non-answering answer, but I hope this has sparked an idea or two. Let me know how things turn out!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload