React / foldkit-react-codegen
watch
function · packages/react-codegen/src/generate.ts:102
function watch(
options: GenerateOptions,
onEvent: (event: WatchEvent) => void,
): {
readonly close: () => void
}Runs generate now and again after each change under the inputs, one run at
a time; changes during a run cause exactly one more. Changes inside
outDir are ignored, so an out dir nested in an input does not loop.