Skip to main content

serve

Function serve 

Source
pub fn serve(dir: &Path, port: u16) -> Result<(), String>
Expand description

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.