mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
93e431967f
commit
e044d99696
1 changed files with 1 additions and 1 deletions
|
@ -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')) {
|
||||
|
|
Loading…
Reference in a new issue