Intended outcome:
apollo:codegen in watch-modegql tagActual outcome:
After saving a file in VS Code that contains a query defintion with gql , apollo:codegen in watch mode writes Change detected, generating types... to the console but the files are not updated. After restarting apollo:codegen the files are correctly re-written (one time).
Command used to run apollo codegen (as script from package.json)
apollo client:codegen --target=typescript --globalTypesFile=src/global-query-types.ts --watch --outputFlat src/querytypes
Versions
Affected version: 2.19.x, in Version 2.18.3 it is working correctly.
Interesting 馃 This was _just_ working. I was able to reproduce though, so I'll take a look!
Most helpful comment
Interesting 馃 This was _just_ working. I was able to reproduce though, so I'll take a look!