start method

Future<void> start()

Implementation

Future<void> start() async {
  await _apiServer.start();
  try {
    await _uiServer.start();
  } on Object {
    await _apiServer.stop();
    rethrow;
  }

  if (_config.openBrowser) {
    unawaited(_openBrowser(uiUrl));
  }
}