@travetto/compiler 5.0.9 → 5.0.10
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/package.json +1 -1
- package/src/watch.ts +6 -1
package/package.json
CHANGED
package/src/watch.ts
CHANGED
|
@@ -245,7 +245,12 @@ export class CompilerWatcher {
|
|
|
245
245
|
outEvents.push({ action, file: entry.sourceFile, entry });
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
|
|
248
|
+
try {
|
|
249
|
+
await this.#rebuildManifestsIfNeeded(outEvents);
|
|
250
|
+
} catch (err) {
|
|
251
|
+
log.info('Restarting due to manifest rebuild failure', err);
|
|
252
|
+
this.#reset(events[0]);
|
|
253
|
+
}
|
|
249
254
|
yield* outEvents;
|
|
250
255
|
}
|
|
251
256
|
|