Hey guys, do you know what piece of code is responsible for programatically restarting the typescript server after generating the prisma client?
r
Ryan
06/24/2021, 2:07 PM
@Daniell 👋
Could you explain a bit about your setup?
d
Daniell
06/24/2021, 2:09 PM
Hi! I am not making anything currently, but I noticed whenever I generate the prisma client, my Typescript server restarts automatically and I was wondering how that is done
r
Ryan
06/24/2021, 2:14 PM
You mean the VSCode TypeScript server or your application server?
d
Daniell
06/24/2021, 2:14 PM
The vscode typescript server
r
Ryan
06/24/2021, 2:26 PM
It’s probably due to it having a watcher for types in
node_modules
that we use.
d
Daniell
06/24/2021, 2:34 PM
ah I see, so not too easy to implement
Daniell
06/24/2021, 2:35 PM
I am using a ui component lib which has the option to generate theme tokens but I have to manually restart it each time, was thinking of making a PR but I couldnt find a reference