Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在intellij idea中运行时如何在vertx应用程序代码中启用自动重新部署?
用于 vertx 应用程序热部署的 Intellij 设置。
创建一个运行配置(应用程序),将 Main 类设置为 io.vertx.core.Launcher。在程序参数中写入:运行 your-verticle-fully-qualified-name --redeploy=**/*.class --launcher-class=io.vertx.core.Launcher。要触发重新部署,您需要显式创建项目或模块(构建菜单 → 制作项目)。