Can Eclipse automatically refresh Tomcat app?

Viewed 25771

I use Eclipse Indigo (EE) to build applications in Java framework Vaadin, using Tomcat 7.0 server. After changes in code I wont see result in a browser, so I need to click option "Clean Tomcat Work Directory.." and wait until Tomcat stop and start a server.

Otherwise, when I refresh app page, I don't see any changes. Even when I restart server (and when eclipse automatically restart it when I save changes), without cleaning tomcat directory.

Option "Automatically publish when resources change" is enabled.

Is any faster way to do that? or can I automate that process?

6 Answers

In your "Modules" tab of your Tomcat, you hace to clic on 'Edit' and uncheck the 'Auto reloading enables' option.

With that, several changes won't need a restart (as long as you start your server in debug mode).

Related