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/
the root directory to serve files from.
the hostname of the server.
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.
the reporter to use for logging purposes.