You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by "marccollin7379@gmail.com" <ma...@gmail.com> on 2017/08/08 14:20:32 UTC

How can I reload my changes on Spring Boot without having to restart my server?

Hi

i use spring boot 2.0.0 with netbeans 8.2 and gralde.

How to avoid to restart every time server when i do a change in the code ?

thanks

Re: How can I reload my changes on Spring Boot without having to restart my server?

Posted by Attila Kelemen <at...@gmail.com>.
Hi,

If you are using Gretty to run your code, then I think you just have to
recompile your project. I'm uncertain but I think if you are just running
your project with SpringBoot, it won't pick it up.

Normally, I would say, that you could run your code in debug mode and click
Debug/Apply Code changes. However, you probably can't do it if your run
task relies on SpringBoot's questionable monster jar. So, you just have to
have a run task which depends on the binaries SpringBoot's big jar is
created from.

bye,
Attila Kelemen

2017-08-08 16:20 GMT+02:00 marccollin7379@gmail.com <
marccollin7379@gmail.com>:

> Hi
>
> i use spring boot 2.0.0 with netbeans 8.2 and gralde.
>
> How to avoid to restart every time server when i do a change in the code ?
>
> thanks
>