pub fn serve(dir: &Path, port: u16) -> Result<(), String>
Serve a project to an editor page until the process is interrupted.
port 0 asks the system for one, which is what the tests use.
port