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

bug: watch mode not updating when .graphql file is changed #546

Closed
elijaholmos opened this issue Nov 6, 2022 · 2 comments
Closed

bug: watch mode not updating when .graphql file is changed #546

elijaholmos opened this issue Nov 6, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@elijaholmos
Copy link

I have set up a simple project with the following file structure:

- package.json
- pnpm-lock.yaml
- schema.graphql
- spectaql.yml

The spectaql.yml config looks like so:

introspection:
    schemaFile: ./schema.graphql

servers:
    - url: https://example.com/graphql
      description: Test

When I run the command pnpm exec spectaql -D spectaql.yml, Spectaql successfully generates documentation and creates a development server at http://localhost:4400, then enters watch mode. However, when I save the schema.graphql file, the changes are not reflected in neither the website nor the CLI. But when I save the spectaql.yml file, the changes are registered in the CLI and the output

>> File "spectaql.yml" changed.

is displayed. I double-checked the documentation to ensure there was nothing my configuration. Let me know if there are any other steps I should try.

SpectaQL version: 1.5.6
OS: Windows 10 21H2
Node version: 16.18.0
PNPM version: 7.14.1

@elijaholmos elijaholmos changed the title bug: watch mode not updating when .graphql is changed bug: watch mode not updating when .graphql file is changed Nov 6, 2022
@newhouse newhouse self-assigned this Nov 11, 2022
@newhouse newhouse added the bug Something isn't working label Nov 11, 2022
@newhouse
Copy link
Collaborator

This is fixed in v1.5.7

@elijaholmos
Copy link
Author

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants