2026-02-17 15:45:36 +09:00
|
|
|
export const runNodeWatchedPaths: string[];
|
2026-03-15 16:19:27 -04:00
|
|
|
export function isBuildRelevantRunNodePath(repoPath: string): boolean;
|
|
|
|
|
export function isRestartRelevantRunNodePath(repoPath: string): boolean;
|
2026-02-17 15:45:36 +09:00
|
|
|
|
|
|
|
|
export function runNodeMain(params?: {
|
|
|
|
|
spawn?: (
|
|
|
|
|
cmd: string,
|
|
|
|
|
args: string[],
|
|
|
|
|
options: unknown,
|
|
|
|
|
) => {
|
|
|
|
|
on: (
|
|
|
|
|
event: "exit",
|
|
|
|
|
cb: (code: number | null, signal: string | null) => void,
|
|
|
|
|
) => void | undefined;
|
|
|
|
|
};
|
|
|
|
|
spawnSync?: unknown;
|
|
|
|
|
fs?: unknown;
|
|
|
|
|
stderr?: { write: (value: string) => void };
|
|
|
|
|
execPath?: string;
|
|
|
|
|
cwd?: string;
|
|
|
|
|
args?: string[];
|
|
|
|
|
env?: NodeJS.ProcessEnv;
|
|
|
|
|
platform?: NodeJS.Platform;
|
|
|
|
|
}): Promise<number>;
|