### Bug description

## Setup

```bash
 quarto create project website test --no-open
 cd test
 quarto preview
```

I'm on linux, Pop-OS 22.04, based on Ubuntu 22.04.
I noticed the issue first with Quarto `v1.3.299` (must have appeared between this and early v1.3) , but have also tested with the latest commit of quarto-cli:  024bba6387fc0abe7de1deb2640bd387fc28a692

## Error

```
Preparing to preview
[1/2] about.qmd
[2/2] index.qmd

ERROR: Too many open files (os error 24)

Error: Too many open files (os error 24)
    at new FsWatcher (deno:runtime/js/40_fs_events.js:19:23)
    at Object.watchFs (deno:runtime/js/40_fs_events.js:64:12)
    at runWatcher (file:///home/jannik/projects/quarto-cli/src/project/serve/watch.ts:310:26)
    at Array.forEach (<anonymous>)
    at watchProject (file:///home/jannik/projects/quarto-cli/src/project/serve/watch.ts:351:28)
    at serveProject (file:///home/jannik/projects/quarto-cli/src/project/serve/serve.ts:236:25)
    at async Command.fn (file:///home/jannik/projects/quarto-cli/src/command/preview/cmd.ts:331:9)
    at async Command.execute (file:///home/jannik/projects/quarto-cli/src/vendor/deno.land/x/cliffy@v0.25.4/command/command.ts:1790:7)
    at async quarto (file:///home/jannik/projects/quarto-cli/src/quarto.ts:122:3)
    at async file:///home/jannik/projects/quarto-cli/src/quarto.ts:154:5
```

This only happens for quarto projects, removing `_quarto.yml` allows previewing individual files.

## Related information

Might be related to https://github.com/denoland/deno/issues/17757



### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
- [X] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
jjallaire
2023-04-14T12:39:02Z
jmbuhr
bug
v1.4
closed
Error: Too many open files (os error 24) for quarto projects
https://github.com/quarto-dev/quarto-cli/issues/5192