Package-level declarations
Types
Base interface for creating a hot-reloadable app. Note that these are required to be top-level classes as they are instantiated via reflection on hot-reload. Thus, they cannot require constructor parameters.
Hot reloading server. Watches for changes on the classpath source and rebuilds the project when changes are detected. Uses an event source connection script injected into the HTML pages to trigger a reload when the project is rebuilt.
Responsible for watching a set of paths for changes and acting on the changes.
Represents the process to compile the project for hot reload.
Watches for changes on the classpath source and rebuilds the project when changes are detected. If you have a project with a different structure, you can implement your own PathWatcher to pick up any custom paths to watch.
Functions
Filter which injects a script into HTML responses using an event source to detect changes and reload the page.
Filter which injects a script into HTML responses using an event source to detect changes and reload the page.