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,
For Spring Boot 2+ with gradle Kotlin dsl:
tasks.bootRun { sourceResources(sourceSets.getAt(SourceSet.MAIN_SOURCE_SET_NAME)) }
thanks to @briskr's answer for the gradle dsl version :)