How to enable auto redeploy in vertx when using intellij

2.3k Views Asked by At

How to enable auto redeploy in vertx application code when running in intellij idea?

Intellij Settings for hot deployment of vertx application.

1

There are 1 best solutions below

1
On BEST ANSWER

create a Run configuration (Application), set the Main class to io.vertx.core.Launcher. In the Program arguments write: run your-verticle-fully-qualified-name --redeploy=**/*.class --launcher-class=io.vertx.core.Launcher. To trigger the redeployment, you need to make the project or the module explicitly (Build menu → Make project).