grails-core
grails-core copied to clipboard
Grails 7: Controller hot change doesn't take effect.
Expected Behavior
In grails 5, I can hot change actions in controllers. It will show the result of my changes after auto re-compile.
Actual Behaviour
Grails 7 auto re-compiles but still runs old code. There won't be any changes until I stop Grails 7 and start it again.
Steps To Reproduce
1- Add something like println "--print index-1--"
to index action in controller
2- start grails 7
3- running index action will print "--print index-1--"
4- Don't stop grails. Just change print statement to println "--print index-2--"
5- Wait for it to recompile
6- running index action.
still showing "--print index-1--"
Environment Information
- Mac OS
- java=22.0.2-zulu gradle=8.10 groovy=4.0.22
Example Application
No response
Version
grails=7.0.0-SNAPSHOT