Search code examples
grailsgrails-3.0

Reloading static resources in Grails 3


Assuming an index.html file under src/main/resources/public/ folder in a Grails 3 application, how does one update it and have the changes immediately available without restarting the application?

With Grails 2, any changes to the web-app folder where available on browser reload, so I am assuming a caching mechanism has been introduced.


Solution

  • Solved by moving statics from src/main/resources/public/ to src/main/webapp folder.