build(fileAbsolutePaths: string[],config?: { extensions?: string[]; }): Task<FSTree, InputUnreadableFailure>
Resolves an array of file paths, directories, or glob patterns into a flat { absolutePath: null } map.
Each input is walked as its own Task and answers with its own files, so the one that failed
names itself in the failure's data — the previous console.error(error); process.exit(1)
printed a bare ENOENT with no indication of which configured input produced it, and took the
daemon down with it.
import * as FSTree from './fs-tree.ts'; // Defined, not invoked: stats and walks the real filesystem. function discover(projectRoot: string) { return FSTree.build([`${projectRoot}/test/**`, `${projectRoot}/lib/util-test.ts`]); // { '/proj/test/cart-test.ts': null, '/proj/lib/util-test.ts': null, … } }