gqty
gqty copied to clipboard
gqty --watch not watching schema files in parent directory
Steps to reproduce:
- Put
schema.graphql
in a parent directory - Run
gqty --react --no-subscriptions --target=./generated/gqty.ts --typescript --watch ../schema.graphql
- Change
schema.graphql
- 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.