We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e31197f commit d22c9e2Copy full SHA for d22c9e2
apps/frontend/nuxt.config.ts
@@ -143,8 +143,13 @@ export default defineNuxtConfig({
143
state.lastGenerated &&
144
new Date(state.lastGenerated).getTime() + TTL > new Date().getTime() &&
145
// ...but only if the API URL is the same
146
- state.apiUrl === API_URL
+ state.apiUrl === API_URL &&
147
+ // ...and if no errors were caught during the last generation
148
+ (state.errors ?? []).length === 0
149
) {
150
+ console.log(
151
+ "Tags already recently generated. Delete apps/frontend/generated/state.json to force regeneration.",
152
+ );
153
return;
154
}
155
0 commit comments