MCPcopy Create free account
hub / github.com/MarsWang42/Awel / getDevServerStatus

Function getDevServerStatus

packages/cli/src/subprocess.ts:242–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

240 * Get the current status of the dev server.
241 */
242export function getDevServerStatus(): {
243 status: DevServerStatus;
244 port: number;
245 startedAt: number | null;
246 restartCount: number;
247 lastError: string | null;
248 pid: number | undefined;
249} {
250 return {
251 status: state.status,
252 port: state.port,
253 startedAt: state.startedAt,
254 restartCount: state.restartCount,
255 lastError: state.lastError,
256 pid: state.process?.pid,
257 };
258}

Callers 1

createAgentRouteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected