Hey guys, quick question: with the framework before, we would run nexus reflect and it would update the SDL whenever we created a new type. now we have to create our own reflect command like this. Just wondering if we have to run this command every time we create a new type, or if there is a way to watch and for it to update automatically?
r
Ryan
11/04/2020, 2:22 PM
You can use
ts-node-dev
as mentioned here. This will watch for the any resolvers you add to the types.
a
Ahmar Suhail
11/04/2020, 2:25 PM
nice, didn't realise that would update types too. thanks!