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
Sometimes, not always, after starting Vite I see a lot of
[TypeScript] Found 0 errors. Watching for file changes.
[TypeScript] Found 0 errors. Watching for file changes.
[TypeScript] Found 0 errors. Watching for file changes.
[TypeScript] Found 0 errors. Watching for file changes.
[TypeScript] Found 0 errors. Watching for file changes.
rows in the output. They seem to pop up there every 2-3s when no changes are made to the project files and there is not even a browser open to the application.
If you have any good way of debugging what triggers this logging, I might be able to shed some more light on the root cause
Reproduction
There does not seem to be any way to reproduce the problem as it sometimes happens on startup and sometimes it does not happen at all. All with the same project.
Expected behavior
A check is triggered by a change and only then a row is output
### Additional context
This has started happening "recently" but that can be in the last 6 months or so and I cannot say which version it would relate to
### Validations
- [X] Read the [docs](https://github.com/fi3ework/vite-plugin-checker#readme).
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
The text was updated successfully, but these errors were encountered:
It seems like this does not occur when using Vite 3.1.0 + vite-plugin-checker 0.4.9 but it does occur with Vite 3.2.5 + vite-plugin-checker 0.5.4 and newer
Ideas how to debug the cause? Where is the file watcher set / events handled?
A potentially identified cause for this is that it was introduced by upgrading to TypeScript 4.9 which uses native events for the file system watchers by default. I have heard from several people that changing the settings back to use polling resolves the problem.
Describe the bug
Sometimes, not always, after starting Vite I see a lot of
rows in the output. They seem to pop up there every 2-3s when no changes are made to the project files and there is not even a browser open to the application.
If you have any good way of debugging what triggers this logging, I might be able to shed some more light on the root cause
Reproduction
There does not seem to be any way to reproduce the problem as it sometimes happens on startup and sometimes it does not happen at all. All with the same project.
Expected behavior
A check is triggered by a change and only then a row is output
System Info
The text was updated successfully, but these errors were encountered: