Mayank1791989 / gql

112 stars 19 forks source link

Watchman does not recognize query files #154

Open gonziesc opened 5 years ago

gonziesc commented 5 years ago

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!