When running a custom environment with grails via grails -Dgrails.env=custom run-app it appears that the auto reload / hot deploy is turned off, does anyone know how to arbitrarily enable this for any given environment, not just dev, which appears to be the only env where it is actually on by default?
相关问题
- Grails External Configuration. Can't access to
- grails unit test + Thread
- ClickOnce updates all files. Why?
- JMS Job queue with Grails
- Grails: SpringSecurity roleHierarchy not working a
相关文章
- Override env values defined in container spec
- What is a good way to deploy a Perl application?
- Grails: How to make everything I create Upper Case
- Deploying C++ game in Linux
- Can't get Jenkins to start using Tomcat
- Grails and Quartz: Bad value for type long
- Swift 4 - Setting a minimum deployment target
- Sending JSON to javascript on GSP
The flag you want is "disable.auto.recompile", ex:
solve the problem with the name change of my folder containing the project ... this time a name that had spaces ... since quite the spaces everything started to work well
I resolved this by adding the following to my env(custom in this case) Config.groovy:
You can also add the -reloading flag to your run config:
Make sure it is the first arg!
Right-click your project -> Run as -> Run configurations
Blog post about auto refresh in a Grails custom env