apache / apache/grails-intellij-plugin
Hot Swap doesn't work with Grails application
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
I am developing grails (4.0.8) web application. I have hot-swap agent for groovy code enabled. I am running an grails application in debug mode. After a change in groovy class there is a message in the server console: "File *.groovy changed, recompiling..." but the classes are not swapped. Hot swapping doesn't work and it's required to restart application to see the changes.
_⚠️ attachment `image1.png` was not included in the export_
To cause groovy file recompile, after a change I just hit cmd+s / ctrl+s. In older versions of grails that was enough to see the changes on the server.
_⚠️ attachment `image2.png` was not included in the export_
---
*2 attachment(s) referenced here (`image1.png`, `image2.png`) are not part of the CSV export.*
*Imported from [IDEA-270293](https://youtrack.jetbrains.com/issue/IDEA-270293) · Type: Bug · Votes: 1*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the problem with a Grails 4.0.8 application running in debug mode and HotSwapAgent enabled, then edit a Groovy class and save it with cmd+s or ctrl+s. Compare the console's recompilation message with the running application; done means Groovy class changes take effect without restarting the application.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100