How to enable auto redeploy in vertx when using in

2019-08-14 16:57发布

问题:

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

Intellij Settings for hot deployment of vertx application.

回答1:

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).