@hey-api/openapi-ts 0.74.0 → 0.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/index.cjs CHANGED
@@ -129,7 +129,13 @@ async function start() {
129
129
  }
130
130
 
131
131
  const context = await createClient(userConfig);
132
- if (!context[0] || !context[0].config.watch) {
132
+ if (
133
+ !context[0] ||
134
+ !context[0].config ||
135
+ !context[0].config.input ||
136
+ !context[0].config.input.watch ||
137
+ !context[0].config.input.watch.enabled
138
+ ) {
133
139
  process.exit(0);
134
140
  }
135
141
  } catch {