payara / ecosystem-support

Placeholder repository to handle community requests for the Payara Platform ecosystem tools
3 stars 2 forks source link

How to disable auto-reload for debug mode ? #6

Closed clementbrizard closed 1 year ago

clementbrizard commented 4 years ago

Hi,

Apparently, Eclise debug mode enables hot reload but it requires two things :

According to this tutorial for Tomcat plugin, we can disable auto-reload in the "Module" view of the plugin settings. But we don't have this view with Payara plugin, we only have the "Overview".

This process might not be the correct one for Payara but however, I'd like to know how to enable hot reload because as you know, it's really long to wait for the server to restart every time you make a change in your code.

Thanks very much for any help.

PS : I already tried to set up Hotswap Agent following your guide, but without success yet. PPS : There is an open issue which seems to be close to mine, any news about that one ?

CarlosMOGoncalves commented 4 years ago

I would like to second this issue. It is true, any change in code triggers a redeploy of the application to the running server, whether it is in debug mode or not. Yes, it is highly annoying because, depending on the application, it can take several seconds. Further, it is a full redeploy, not a hot swap.

I think there should be an option to disable this "Auto-reload". Further, I think the standard behaviour should be not to trigger a redeployment of applications when changes are made.

fturizo commented 1 year ago

We're sorry but this issue fell through the cracks in the past years, please let us know in a more complete report if you still require this enhancement by raising a new issue.