You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
are not watched when running in browser mode, as environment.pluginContainer.watcher is a no-op watcher. This will apply in fact to any attempt to watch a file via the PluginContainer.
Describe the bug
Files in vitest that would normally be watched by vitest here:
https://github.com/vitejs/vite/blob/30194fa1e41dda6470aa20f2bb34655c4bfd9cd1/packages/vite/src/node/server/transformRequest.ts#L286-L292
are not watched when running in browser mode, as
environment.pluginContainer.watcher
is a no-op watcher. This will apply in fact to any attempt to watch a file via the PluginContainer.Reproduction
https://github.com/mrginglymus/vitest-pnp
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: