- If a site property supportReloadFile is true, a watcher Thread is started
- this Thread waits for a file named .reload to appear in the site's root directory
- if found, a site reload is performed
- when done, the file is renamed to something else (e.g. append the unix time) for historical reasons
This feature is especially useful for development scenarios in conjunction with the local profile.
Here, an ant <touch> can be used to create this file:
The main advantage here is that there is no messaging needed.
In a local development environment, usually there is no need to configure messaging.
It would also be possible to let appNGizer create this file (in case no messaging is available), which means the appNGizer maven plugin would also benefit from this feature.