Skip to content

Commit

Permalink
fix: better error message
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 26, 2023
1 parent 7f01bad commit ee0986a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/slidev/node/plugins/loaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ export function createSlidesLoader(
read() { return md },
})
}
catch { }
catch (e) {
console.error('[Slidev] failed to send HMR', e)
}
}),
)
).flatMap(i => i || [])
Expand Down

0 comments on commit ee0986a

Please sign in to comment.