Watch Mode
#720
Replies: 2 comments 4 replies
-
I run my setup via turbo, which executes a dev script for all my packages. My OpenAPI server runs in dev mode, so when my generated client package is in dev mode, i expect it to watch the URL of my OpenAPI server and re-generate on demand. |
Beta Was this translation helpful? Give feedback.
2 replies
-
well I ended up fixing this quite some time ago:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
Here is the use case:
You want to regenerate the openapi types when a file has changed (in this case the
openapi.json
file).It would be interesting to have a sort of watch mode built-in which would check changes to the openapi json file (or however is the best way to do this).
For inspiration/extra examples other packages have done something similar like this: https://the-guild.dev/graphql/codegen/docs/getting-started/development-workflow#watch-mode.
Beta Was this translation helpful? Give feedback.
All reactions