more robust error handling, config hotreload
This commit is contained in:
		@@ -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
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -103,7 +103,6 @@ export function createFileParser(ctx: BuildCtx, fps: FilePath[]) {
 | 
			
		||||
        }
 | 
			
		||||
      } catch (err) {
 | 
			
		||||
        trace(`\nFailed to process \`${fp}\``, err as Error)
 | 
			
		||||
        throw err
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user