Hot-Reloading

The watch goal runs any self-executable SeedStack application in hot-reloading mode.

Parameters

Parameters should be given as system properties (-DparameterName=parameterValue):

Name Type Mandatory Description
args String No The string of all arguments used to run the Seed application.

Limitations

Currently, the following limitations apply:

  • If you do some change on a custom repository interface without implementation, the framework-generated implementation will not be updated. A full restart of the watch goal will be necessary.
  • Only java files are monitored. Configuration files and others will be in a future release.

Example

Application refresh is only supported for Web application using the Undertow embedded server.

Start the application in hot-reloading mode with:

mvn seedstack:watch
   

On this page


Edit