美文网首页hot reload
macbook IDEA热部署

macbook IDEA热部署

作者: naxxm | 来源:发表于2018-12-20 15:47 被阅读0次
    pom.xml文件下添加依赖
    <dependency>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-devtools</artifactId>
                <optional>true</optional>
            </dependency>
    
    idea设置自动编译
    image.png
    idea 设置运行时自动编译command + shift + A输入Registry选择第一个
    image.png
    然后找到下图选项打勾
    image.png

    相关文章

      网友评论

        本文标题:macbook IDEA热部署

        本文链接:https://www.haomeiwen.com/subject/wqwykqtx.html