(ctx)
| 226 | return loadVirtualSource(); |
| 227 | }, |
| 228 | handleHotUpdate(ctx) { |
| 229 | const configPath = resolveConfigPath(); |
| 230 | const jsoncPath = resolveJsoncPath(); |
| 231 | const isWatched = |
| 232 | (configPath && ctx.file === configPath) || (jsoncPath && ctx.file === jsoncPath); |
| 233 | if (!isWatched) return undefined; |
| 234 | cachedSource = null; |
| 235 | const mod = ctx.server.moduleGraph.getModuleById(RESOLVED_ID); |
| 236 | return mod ? [mod] : undefined; |
| 237 | }, |
| 238 | }; |
| 239 | } |
| 240 |
nothing calls this directly
no test coverage detected