Codegen watch skip first run
Author: flippidippiCreated Oct 7, 2021Updated Sep 12, 2026
Labelscore
Is your feature request related to a problem? Please describe. Currently, we run codegen, then codegen watch to ensure that the first run is successful before compiling the project. However, when the codegen watch is started, it runs an extra codegen before starting the watch.
Describe the solution you'd like
It would be nice if we could run the codegen watch and send a flag for it to not run its initial codegen until file changes.
Describe alternatives you've considered
No alternatives thought of
Additional context
Source: dotansimha/graphql-code-generator