Search code examples
javaintellij-ideavert.xhotdeployautodeploy

How to enable auto redeploy in vertx when using intellij


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

Intellij Settings for hot deployment of vertx application.


Solution

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