Daniel Roe
Daniel Roe
This is unlikely something to fix in Nuxt. It might possibly be a vitest bug or something to be resolved in nuxt/test-utils. Have you tried ensuring that `.nuxt` is added...
It seems like the issue is the one Ari linked - it's a Vue sourcemap bug: https://github.com/vitest-dev/vitest/issues/3607#issuecomment-1608954728.
@jsedanoj if you think it's a different issue we can open a new one but it should be in https://github.com/nuxt/test-utils.
`rootDir` should not point to `app/` (which is the `srcDir`, not the `rootDir`, of your Nuxt app)
The issue is the typing. It might be possible but will be a lot more complex, to create chainable validators. (So output of one becomes input of another.)
Unfortunately this is a side-effect of how `chokidar` watches files - even if Nuxt tells chokidar to ignore a directory, chokidar will insist on scanning that directory recursively. It won't...
@AlansCodeLog If you aren't using the v4 compatibility mode, you can set `experimental.watcher` to `chokidar` which should reduce watcher count.
maybe linked: https://github.com/nuxt/nuxt/issues/30137
the zombie process issue should be fixed with latest `nuxi` via https://github.com/nuxt/cli/pull/602 @AlansCodeLog - in your can also try `chokidar-granular` (which was originally created as a watcher strategy to work...
There are a lot of things that spawn watchers. You can control what _nuxt_ uses, but Vite, unstorage, nitro and others have their own watchers, most of which use chokidar....