Simple reproduction showing svelte-check watches files excluded by TSConfig.
svelte-check hits EMFILE because it watches files that TSConfig excludes. The file watcher ignores TSConfig exclude patterns.
npm install
npm run reset # Clean + generate files
npm run test-emfile # Sets ulimit=128, runs svelte-check --watch
Result: EMFILE error because svelte-check tries to watch excluded files.
large-excluded/**
large-excluded/