Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart language service on file change #1501

Closed
1 task done
pmelab opened this issue Sep 19, 2023 · 1 comment
Closed
1 task done

Restart language service on file change #1501

pmelab opened this issue Sep 19, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@pmelab
Copy link

pmelab commented Sep 19, 2023

I've searched open issues for similar requests

  • Yes

Is your feature request related to a problem? Please describe.

When working with GraphQL schema files, updates to the schema are not reflected until LspRestart is called., because graphql-language-service-cli apparently does not pick up file changes on the fly, like oder language services do.

Describe the solution you'd like

On saving files with a certain pattern, restart a given language service.

Describe potential alternatives you've considered

No response

Additional context

No response

@pmelab pmelab added the enhancement New feature or request label Sep 19, 2023
@pmelab
Copy link
Author

pmelab commented Sep 19, 2023

Never mind, apparently the GraphQL language server should be able to do that as soon as this PR is in: graphql/graphiql#3301

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Closed
Development

No branches or pull requests

1 participant