问题
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).
来源:https://stackoverflow.com/questions/45445891/how-to-enable-auto-redeploy-in-vertx-when-using-intellij