Conversation
|
Are you planning on a CLI change to go along with this? |
|
eg: |
|
+1 to this |
|
I tested this locally and it works great. Reloading of Grails controllers, Grails services as well as regular Groovy classes all worked successfully. |
|
@erichelgeson with
gradle asseble works without errors. Should I create an issue or gradle asseble can be used instead of grails war? |
|
@demon101 I think this can be fixed by adding the |
works! Thx! |
Add back in the option for hot reloading from spring-loaded. Though spring-loaded is all but abandoned - it does work well for Java 8. For hot reloading on JDK 8/11+ JRebel works as well.
This is needed as large projects can not tolerate upgrades due to how long dev-tools restarts take (sometimes up to 3 minutes per change). With spring loaded & a native file watcher on osx/linux this is sub second. Users can choose which option - dev-tools is still the default.
To enable:
build.gradledependencies { // Remove dev-tools from classpath // developmentOnly("org.springframework.boot:spring-boot-devtools") agent "org.springframework:springloaded:1.2.8.RELEASE" // (Optional) Native OSX file watcher runtimeOnly "io.methvin:directory-watcher:0.9.6" //... }