akhikhl / gretty

Advanced gradle plugin for running web-apps on jetty and tomcat.
MIT License
655 stars 174 forks source link

Modified static files doesn't show changes on browser #167

Open vjsantojaca opened 9 years ago

vjsantojaca commented 9 years ago

We've a gradle project (java project) with jetty server. In this proyect, We use a gretty plugin for start the server. This's the gretty configuration:

gretty {
    contextPath = "/"
    serverConfigFile = file("$rootDir/jetty.xml")
    fastReload = (['baseDir' : 'src/main/webapp/', 'pattern':'templates/*', 'excludesPattern':'WEB-INF/*'])
    inplaceMode = "soft"    
}

With that configuration, we want that the browser (while the server is running) show this static files. This static files are being copied into /build/inplaceWebapp but the browser is not showing the updated code.

We use OS X Yosemite.

akhikhl commented 9 years ago

which template engine you use? what if you would try accessing non-template file in the same directory - does it get properly updated in the browser after fast-reload?

vjsantojaca commented 9 years ago

I use .jsp (it's a java webapp application)