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

gqty --watch not watching schema files in parent directory #1997

Open
lubosmato opened this issue Aug 16, 2024 · 0 comments
Open

gqty --watch not watching schema files in parent directory #1997

lubosmato opened this issue Aug 16, 2024 · 0 comments

Comments

@lubosmato
Copy link
Contributor

lubosmato commented Aug 16, 2024

Steps to reproduce:

  1. Put schema.graphql in a parent directory
  2. Run gqty --react --no-subscriptions --target=./generated/gqty.ts --typescript --watch ../schema.graphql
  3. Change schema.graphql
  4. Observe gqty didn't pick up the change of schema.graphql

Typical use-case for watching schema files from parent directories is e.g. in turborepo project where api and frontend are in separate folders and schema file is in api folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant