Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored and actions-user committed Mar 31, 2022
1 parent 93e4319 commit e044d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/vite-plugin-astro/hmr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export async function handleHotUpdate(ctx: HmrContext, config: AstroConfig, logg

const mod = ctx.modules.find((m) => m.file === ctx.file);
const file = ctx.file.replace(config.projectRoot.pathname, '/');

// Note: this intentionally ONLY applies to Astro components
// HMR is handled for other file types by their respective plugins
if (ctx.file.endsWith('.astro')) {
Expand Down

0 comments on commit e044d99

Please sign in to comment.