If I edit a resolver twice it seems to blow up:
[GraphqlSchemaHot]: GraphQL Schema files was changed. Run rebuild...
(node:59825) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Schema must be an instance of GraphQLSchema. Also ensure that there are not multiple versions of GraphQL installed in your node_modules directory.
(node:59825) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I've enabled hot reload for my schema entrypoint file and this seems to be the culprit.
I'd love some pointers.
If I edit a resolver twice it seems to blow up:
I've enabled hot reload for my schema entrypoint file and this seems to be the culprit.
I'd love some pointers.