New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
svelte-check: check only files mentioned as arguments #353
Comments
|
If this were performant, I'd love to move the Snowpack Svelte plugin onto this (since we're already running our own file watcher internally, running |
|
I guess your use case would be to only check the changed files? Not sure if this would have better performance in this case because starting a new |
|
Having said the above it came to me that it may not be good to add the requested feature for the reasons outlined above: The request for a |
Could incremental builds aleviate this?
I feared that in the issue description. For this |
|
If we would construct a module graph we would need to read all files anyway. I also would not want to implement such a module resolution myself and rather rely on the ts language service to do this. The second step would be to do some kind of "find references" on each changed file and then delete all unreferenced from the language server. I'm not sure this would save that much time in the end. The |
I'm using lint-staged with husky to automatically lint files before commits.
In large codebases it could be useful to lint only the changed files
example usage:
The text was updated successfully, but these errors were encountered: