If you having some time like image above, enable this. It will restart the TSServer when you move to another ts/tsx file.
This extension is... pretty basic. It's just restarting the TSServer when you move to another ts/tsx file. It's not doing anything fancy like checking if the TSServer is actually dead or not. It's just a quick fix for the issue I was having.
You can install it via marketplace page.
Check out our Releases and download the latest .vsix
file.
Also can install it by cloning this repository and running the following:
npm i
npx vsce package
Then install the generated tsserver-auto-restarter-x.y.z.vsix
file. (You can find the file in the root directory of this repository)
CMD + Shift + P -> TSServer Auto Restarter: Enable (or Disable)
Feel free to open an issue or a pull request.
MIT License