Skip to content

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

@lubosmato

Description

@lubosmato

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions