In one of my project I need to generate GSP (groovy server pages) on the fly and write them on the file system. There was a quartz job that updates the GSP page on regular intervals.
The problem was, this functionality worked flawless in the development environment but fails in test and production environment. In test and production environment you can force and reload the GSP in order to see the latest one.
You can force the GSP to reload by writing this following code in your Config.groovy file:
grails.gsp.reload.enable = true
Any suggestions and comments are welcome.