public void Start(FubuRuntime runtime) { _port = PortFinder.FindPort(_port); int i = 0; while (!tryStartAtPort(runtime) && i > 3) { i++; } }
public void Start(FubuRuntime runtime, string rootDirectory) { _port = PortFinder.FindPort(_port); int i = 0; while (!tryStartAtPort(rootDirectory, runtime) && i > 3) { i++; } }