Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can I disable reloading in a grails 3.0.0 app?

It appears that the spring reloading causes errors with JDK 8u40 in Grails 3.0.0.M2. Can I disable the reloading in development mode? Is there a key to set in the build.gradle or in the application.yml?

like image 697
Dierk Avatar asked Mar 04 '15 13:03

Dierk


1 Answers

Not sure if it helps in above case. I use below over grails 2.3.8 to disable auto compile.

grails -Dserver.port=8090 -Dserver.env=development -Denable.jndi=true -Ddisable.auto.recompile=true run-app

where

disable.auto.recompile=true

disables autocompile and autoreload of changes .

server.env - the environment in which you want the application to run.

server.port - port on which application will run

enable.jndi - to enable jndi support

You may set these variables in Gradle build.

like image 132
Vinay Prajapati Avatar answered Nov 02 '22 00:11

Vinay Prajapati