WebServerOptions

constructor(port: Int, targetFile: File, browserLauncher: BrowserLauncher?)

Parameters

port

port to start the server on

targetFile

file to serve

browserLauncher

strategy to open the served file in the browser. If null, the file will not be opened.