Skip to content

Conversation

@tjosepo
Copy link
Member

@tjosepo tjosepo commented Jul 9, 2024

Description of changes

Add a watch mode. This mode can be accessed using --watch on the CLI or using setting the watch property to true in the config file.

Output:

$ pnpm exec create-schemas --watch                                  
Watching for changes on v1.yaml
✔ Completed in 43ms
    openapi-types.ts (2.2 KB)
Change detected
✔ Completed in 20ms
    openapi-types.ts (2.2 KB)
Configuration changed. Restarting.
Watching for changes on v1.yaml
✔ Completed in 7ms
    openapi-types.ts (2.2 KB)
Configuration changed. Restarting.
Watching for changes on foo.yaml
foo.yaml does not exist.

Breaking changes

None. This change is fully backwards compatible.

@tjosepo tjosepo requested a review from a team as a code owner July 9, 2024 19:45
@tjosepo tjosepo merged commit b522f5d into main Jul 12, 2024
@github-actions github-actions bot mentioned this pull request Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants