more robust error handling, config hotreload

This commit is contained in:
Jacky Zhao
2023-08-05 11:28:09 -07:00
parent c307dce3a4
commit 9868c09f58
10 changed files with 151 additions and 145 deletions

View File

@ -37,7 +37,6 @@ export async function emitContent(ctx: BuildCtx, content: ProcessedContent[]) {
}
} catch (err) {
trace(`Failed to emit from plugin \`${emitter.name}\``, err as Error)
throw err
}
}

View File

@ -103,7 +103,6 @@ export function createFileParser(ctx: BuildCtx, fps: FilePath[]) {
}
} catch (err) {
trace(`\nFailed to process \`${fp}\``, err as Error)
throw err
}
}