MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / restartServer

Function restartServer

apps/desktop/src/preload/index.ts:51–53  ·  view source on GitHub ↗

* Stop + restart the sidecar so settings changes take effect. * Main reloads the window and returns the refreshed server connection.

()

Source from the content-addressed store, hash-verified

49 * Main reloads the window and returns the refreshed server connection.
50 */
51 restartServer(): Promise<DesktopServerConnection> {
52 return ipcRenderer.invoke("executor:server:restart");
53 },
54 /**
55 * Open an http(s) URL in the user's default browser. Main-side validates
56 * the scheme. Used by the system-browser OAuth flow.

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.80

Tested by

no test coverage detected