In Open Liberty server there are several goals to start it like liberty:run
, liberty:start
and liberty:dev
.
In the docs I see that run
executes the server in foreground and start
in background but I can't find if the development mode dev
executes it in foreground or background.
Thanks in advance.
Dev mode runs in the foreground just like liberty:run
. The main difference / advantage between the two is the hot reload feature which will pick up source changes in your app and reload the server and tests. More information about dev mode can be found here: https://openliberty.io/blog/2019/10/22/liberty-dev-mode.html