object UndertowLiveReload
- Companion:
- class
Type members
Value members
Concrete methods
def apply(root: Path, host: String, preferredPort: Int, reporter: Reporter, lastPreview: () => String): UndertowLiveReload
Instantiate an undertow file server that speaks the LiveReload protocol.
Instantiate an undertow file server that speaks the LiveReload protocol.
See LiveReload protocol for more details: http://livereload.com/api/protocol/
- Value parameters:
- host
the hostname of the server.
- preferredPort
the preferred port of the server. If the port is not free, the first free port that is an increment of this port is picked. For example, if preferredPort == 4000 and 4000 is not free, then 4001 will be picked instead.
- reporter
the reporter to use for logging purposes.
- root
the root directory to serve files from.