This is an issue I have been meaning to file for a long time.
After compiling while you have your web app deployed, you get either one, two or sometimes three dialogs in a rows where Idea is pleading you to redeploy the changes.
I never understood how Idea decided which of these dialogs to popup. Just now I realized you only get the full package if the compilation is triggered by a run action.
At first Idea asks me to redeploy, then it asks the same
question again and finally it asks to hot swap.
Most often when this is happening I want the fourth option, that Idea never mentions in its many questions:
Restart the damn server. Redeploying too often gives OOMEs with PermGenSpace.
So I click my way through three "No" buttons, just to stop the server manually and re-start the run configuration manually.
Please provide a single dialog that explicitly lists all available option, e.g. three buttons labeled
"Redeploy", "Hot Swap", "Restart"