graphql / graphql/graphiql

[schema first] Language server won't auto reload after the schema SDL file updated

Open
#2,357 3 comments 29 reactions 0 assignees View on GitHub
lsp-server vscode-graphql
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

## Actual Behavior

Updating the schema SDL file won't trigger language server reload. As the
result, auto-completion kind of function doesn't work for the documents kind
of graphql file. After manually reload the language server, everything works fine.

## Expected Behavior

Language server should reload automatically, once the schema.graphql file is
updated.

## Steps to Reproduce the Problem Or Description

## Specifications

- GraphQL for VSCode Extension Version: 0.3.33
- VSCode Version: 1.62.3
- OS Name: Windows 11
- OS Version: 10.0.22000
- graphql config filename and format example: .graphqlrc.yaml

## Logs Of TS Server || GraphQL Language Service

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.