I appear to be missing something fundamental here....
# prisma-whats-new
j
I appear to be missing something fundamental here. I've added a field
thing
to the User type in both datamodel.graphql and schema.graphql and ran deploy and only the database part of playground has been updated; not app. What am I doing wrong?
l
Check the yoga server for errors. If none, make sure that the introspection query is working (see if you can click the`schema` and get a schema back.
j
Had to restart the server. Is that necessary in order to see added fields? If so having to restart the server and run deploy seems like a lot of effort?
l
The examples have nodemon for automatic restarts. That's the beast that is Node
j
I'll take a look, thanks 👍
l
If you haven't used it, it's just a file watcher. When it sees a newly saved file, it automatically restarts the server
j
Yes, I've used it. Thanks. Just curious to see if there's any nuances.