Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ Idea 15 - How to "update resources" without restarting server?

When I click to the debug button after the server is started to update resources with/without classes, the prompt that I shared below is displayed. How can I update resources without restarting server?

ps. I am using Tomcat as a server.

enter image description here

Edit: I have already set the option update resources in the server preferences.

enter image description here

like image 784
talha06 Avatar asked Nov 16 '15 14:11

talha06


2 Answers

Use 'Update application' action, by default Ctrl + F10.

like image 199
Piohen Avatar answered Sep 21 '22 11:09

Piohen


You're explicitly trying to restart the server (via clicking on "Debug" while the server is running).

Instead of that you can either use "Update" action from "Run > Update ... application" (which you've already configured to update resources) or re-deploy the artifact.

Btw updating of resources is somehow tricky, if it's not working see my other post on this topic:

https://stackoverflow.com/a/33344839/5060066

like image 37
Ivaylo D. Ivanov Avatar answered Sep 21 '22 11:09

Ivaylo D. Ivanov