mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-19 16:47:29 +00:00
15 lines
349 B
TypeScript
15 lines
349 B
TypeScript
export function runWatchMain(params?: {
|
|
spawn?: (
|
|
cmd: string,
|
|
args: string[],
|
|
options: unknown,
|
|
) => {
|
|
on: (event: "exit", cb: (code: number | null, signal: string | null) => void) => void;
|
|
};
|
|
process?: NodeJS.Process;
|
|
cwd?: string;
|
|
args?: string[];
|
|
env?: NodeJS.ProcessEnv;
|
|
now?: () => number;
|
|
}): Promise<number>;
|