Skip to content

Watchman does not recognize query files #154

@gonziesc

Description

@gonziesc

Hi! I'm trying to configure my own graphql tags, so i used this config in my .gqlconfig file:

{
  schema: {
    "files": "schemas/**/*.gql"
  },
  query: {
    files: [
      {
        match: { include: 'app/graphql/**/*.js' },
        parser: [ 'EmbeddedQueryParser', { startTag: 'queries`', endTag: '`' } ],
      },
      {
        match: { include: 'app/graphql/**/*.js' },
        parser: [ 'EmbeddedQueryParser', { startTag: 'mutations`', endTag: '`' } ],
      },
    ]
  }
}

But the console output logs:

Screen Shot 2019-05-13 at 16 20 43

Nothing about watching the query files.

Am I doing something wrong?

Please tell me if you need me to provide more information.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions