chore(gateway): ignore .test.ts changes in gateway:watch (#36211)

This commit is contained in:
Harold Hunt
2026-03-15 11:14:28 -04:00
committed by GitHub
parent b2e9221a8c
commit 53462b990d
3 changed files with 211 additions and 61 deletions

View File

@@ -4,8 +4,20 @@ export function runWatchMain(params?: {
args: string[],
options: unknown,
) => {
kill?: (signal?: NodeJS.Signals | number) => void;
on: (event: "exit", cb: (code: number | null, signal: string | null) => void) => void;
};
createWatcher?: (
paths: string[],
options: {
ignoreInitial: boolean;
ignored: (watchPath: string) => boolean;
},
) => {
on: (event: "add" | "change" | "unlink" | "error", cb: (arg?: unknown) => void) => void;
close?: () => Promise<void> | void;
};
watchPaths?: string[];
process?: NodeJS.Process;
cwd?: string;
args?: string[];