@bscotch/stitch
Version:
Stitch: The GameMaker Studio 2 Asset Pipeline Development Kit.
11 lines • 488 B
TypeScript
/**
* @file General watcher utility for
* re-running CLI commands when their
* target files change.
*/
import { DebounceWatchOptions } from '@bscotch/debounce-watch';
import type { Nullish } from '@bscotch/utility';
export declare function runOrWatch(cliOpts: {
watch?: boolean | Nullish;
}, runner: () => any | Promise<any>, watchFolder: string, extensions?: string | string[], options?: Omit<DebounceWatchOptions, 'onlyFileExtensions'>): any;
//# sourceMappingURL=watch.d.ts.map