We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01acb97 commit 546debcCopy full SHA for 546debc
ui/src/notebooks-app.ts
@@ -111,7 +111,11 @@ export class NotebooksApp extends LitElement {
111
profilesClient: ProfilesClient;
112
}> {
113
if ((import.meta as any).env.DEV) {
114
- await initializeHotReload();
+ try {
115
+ await initializeHotReload();
116
+ } catch (e) {
117
+ console.warn("Could not initialize applet hot-reloading. This is only expected to work in a We context in dev mode.")
118
+ }
119
}
120
if (isWeContext()) {
121
const weClient = await WeClient.connect(appletServices);
0 commit comments