Refreshing static content with Spring MVC and Boot

前端 未结 15 2198
迷失自我
迷失自我 2020-11-28 07:02

I\'m evaluating Spring MVC & Boot and AngularJs for building web applications. I\'ve run into the problem that when I make modifications to my static content (html, js,

15条回答
  •  我在风中等你
    2020-11-28 07:22

    You can do it by just adding one more dependency

    you Gradle

    compile group: 'org.springframework.boot', name: 'spring-boot-devtools', version: '1.3.0.RELEASE'
    

    In you Pom.xml

    
        org.springframework.boot
        spring-boot-devtools
        1.3.0.RELEASE
    
    

提交回复
热议问题