Grails 3 not automatically hot swapping changed code with Ultimate 2016.3.4
Answered
After a code change the console shows File C:\grails3.2.4\IntelliJ2016Projects\xxx\grails-app\controllers\xxx\XXXController.groovy changed, recompiling...
But it never finishes. I made a simple text change to
println "some message"
which should have displayed in the console after the controller action was used again. If I stop and start the app, the change is there.
I created the Grails 3.2.4 project with IntelliJ.
Another problem I noticed is that, after many changes and restarts, with no configuration changes, IntelliJ suddenly runs the Grails project in "production". I fixed this with the VM option: -Dgrails.env=development, but should not have to do this, since I'm working in my local dev?
Please sign in to leave a comment.
Bug report would be appreciated: https://youtrack.jetbrains.com/issues/IDEA. Please attach a sample project to reproduce.