Open johnfn opened 2 years ago
You can also do: Ctrl+Shift+P
and TypeScript: Restart TS server
(tab needs to be focused on TypeScript code) it will be easier than closing VSCode, but this does not fix the problem. :sweat_smile:
Yeah, that's what I do right now :)
But Prisma somehow figured a way to restart the TS server without me doing anything!
When I use ts2gd, I have to forcibly update VSCode (either close and reopen, or open up the relevant definition files) when TS definitions change. I actually believed this was required until I started using Prisma - when you create new TS definitions with Prisma (
npx prisma generate
), it actually somehow automatically gets TS to update to use the new definitions, no refreshing required.I'd love for ts2gd to have the same functionality. I believe this is definitely one of the biggest pain points with ts2gd today.