tomcat - Refreshing static content with Boot -


i use spring boot gradle , netbeans.

a part of build.gradle.

dependencies {   compile("org.springframework.boot:spring-boot-starter-data-jpa")   compile("org.springframework.boot:spring-boot-starter-jdbc")   compile("org.springframework.boot:spring-boot-starter-web")   runtime("mysql:mysql-connector-java")   testcompile("org.springframework.boot:spring-boot-starter-test")  } 

in resources folder have, static folder contain

css (folder) js (folder) html

tomcatembedded started autommatically script.

when modified css, js or html, change not took in consideration. need stop gradle script , run again.

is there setup able hotswap code?

make sure use gradle "bootrun" task, not "run". bootrun allow reloading.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -