问题
I am running Grails 2.1 in a environment called "local" because "development" is reserved for a staging system. But I want to have to auto compile like in dev mode, i.e. if I am changing a controller the changes are compiled at one without rerunning "run-app". The parameter grails.gsp.enable.reload=true doesn't work.
Any hints are highly appreciated. Thanks in advance
Reto
回答1:
Try starting up with
grails local -reloading run-app
来源:https://stackoverflow.com/questions/11807207/grails-autocompile-not-in-development-environment