I'm using Groovy and Google App Engine. I'm trying out Intellij, but I can't figure out how to get hotswap to work for changes to Groovy classes. It works for me in Eclipse. Is there something special I have to do for it to work in Intellij?
In settings (CTRL
+ ALT
+ S
).
Navigate to Build, Execution, Deployment -> Debugger -> HotSwap.
In here make sure that Enable hot-swap agent for Groovy code and Reload classes in background are checked and that either Always or Ask are selected for Reload classes after compilation.
You need to run your app in debug mode and you need to make (CTRL
+ F9
, or Build -> Make Project) after you've done any changes.
You should see a green text bubble pop up if your classes were reloaded and a red one if they couldn't be reloaded for some reason.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With