Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grails 7: Controller hot change doesn't take effect. #13669

Open
arjangch opened this issue Sep 22, 2024 · 0 comments
Open

Grails 7: Controller hot change doesn't take effect. #13669

arjangch opened this issue Sep 22, 2024 · 0 comments

Comments

@arjangch
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant