gqty icon indicating copy to clipboard operation
gqty copied to clipboard

gqty --watch not watching schema files in parent directory

Open lubosmato opened this issue 6 months ago • 0 comments

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.

lubosmato avatar Aug 16 '24 10:08 lubosmato