Disable reloading in Grails 3.1 / springloaded

前端 未结 3 880
余生分开走
余生分开走 2021-01-12 12:17

I\'m trying to disable automatic reload/recompiling in Grails 3.1 as I would like to use JRebel instead. I find springloaded rather limited, but more importantly is constant

3条回答
  •  既然无缘
    2021-01-12 12:49

    To enable JRebel for Grails 3 project you need to configure -javaagent argument with the corresponding path the jrebel.jar in build.gradle file:

    tasks.withType(JavaExec) { jvmArgs "-javaagent:jrebel.jar" }
    

提交回复
热议问题