Skip to content
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

fix(typescript-plugin): improve named pipes reliability #4603

Merged
merged 3 commits into from
Jul 22, 2024

Conversation

johnsoncodehk
Copy link
Member

@johnsoncodehk johnsoncodehk commented Jul 21, 2024

Re-fix #4292

  • Each project creates an independent named pipe instead of sharing it in a process.
  • Fixed scanning of 20 indexes instead of reading vue-tsp-table-${version}.json intermediate file to obtain the named pipe list.
  • When a new named pipe is detected, it is considered available only after completing a ping pong. This will address the issue where requests timing out during tsserver initialization cause the named pipe to be considered invalid.
  • A set of requests is completed in one connection instead of multiple connections separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant