You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Soften the Vite FM bridge startup path when FM MCP responds but has no connected files. The dev server now logs a warning, injects a fallback bridge shim, and logs runtime errors if bridge calls are made before a file connects. Unreachable or unhealthy FM MCP still fails setup.
`fmBridge found no connected FileMaker files at ${connectedFilesUrl}. Dev server will continue. Connect a FileMaker webviewer to enable bridge forwarding.`;
"fmBridge found no connected FileMaker files at http://localhost:1365/connectedFiles. Dev server will continue. Connect a FileMaker webviewer to enable bridge forwarding.",
241
+
);
242
+
243
+
consttags=awaitplugin.transformIndexHtml?.("");
244
+
245
+
expect(tags).toHaveLength(1);
246
+
expect(tags?.[0]).toMatchObject({
247
+
tag: "script",
248
+
injectTo: "head-prepend",
249
+
});
250
+
expect(tags?.[0]).toHaveProperty("children");
251
+
});
252
+
253
+
it("logs runtime errors from the fallback bridge when no file is connected",async()=>{
0 commit comments