fi3ework / vite-plugin-checker

💬 Vite plugin that provide checks of TypeScript, ESLint, vue-tsc, Stylelint and more.
https://vite-plugin-checker.netlify.app
MIT License
1k stars 87 forks source link

Have same report in vite build --watch and vite serve #405

Closed PodyNoo closed 1 month ago

PodyNoo commented 1 month ago

Is your feature request related to a problem? Please describe.

When i'm using vite build --watch i'm not having the same report of errors as when i'm using vite serve.

There is no summary of error like :

[ESLint] Found 1 error and 0 warning
[TypeScript] Found 2 errors. Watching for file changes.

There is also no formatting of eslint or typescript error in files like this (in vite serve)

 ERROR(TypeScript)  Type 'string' is not assignable to type 'number'.
 FILE  /workspaces/my-project/src/main.ts:2:7

I don't know if it's already possible, but i find nothing in docs, maybe i'm wrong.

Describe the solution you'd like

When developing library, i just need to vite build --watch, since i have nothing to serve. And would be nice to have same format of reporting as in vite serve to easily use a PatternMatcher in vscode.

Describe alternatives you've considered

No response

Additional context

No response

Validations