(devServer)
| 84 | }); |
| 85 | }, |
| 86 | configureServer(devServer) { |
| 87 | server = devServer; |
| 88 | |
| 89 | server.watcher.on("add", (filePath) => { |
| 90 | if (!isIslandPath(options, filePath)) return; |
| 91 | |
| 92 | islands.add(filePath); |
| 93 | |
| 94 | invalidateSnapshots(server!); |
| 95 | }); |
| 96 | server.watcher.on("unlink", (filePath) => { |
| 97 | if (!isIslandPath(options, filePath)) return; |
| 98 | |
| 99 | islands.delete(filePath); |
| 100 | |
| 101 | invalidateSnapshots(server!); |
| 102 | }); |
| 103 | }, |
| 104 | resolveId: { |
| 105 | filter: { |
| 106 | id: /fresh:client-snapshot/, |
nothing calls this directly
no test coverage detected