diff --git a/packages/server/lib/cloud/studio/StudioLifecycleManager.ts b/packages/server/lib/cloud/studio/StudioLifecycleManager.ts index ffe7f9516a..25e2bebaeb 100644 --- a/packages/server/lib/cloud/studio/StudioLifecycleManager.ts +++ b/packages/server/lib/cloud/studio/StudioLifecycleManager.ts @@ -108,7 +108,8 @@ export class StudioLifecycleManager { if (process.env.CYPRESS_LOCAL_STUDIO_PATH) { // Close the watcher if it already exists if (StudioLifecycleManager.watcher) { - StudioLifecycleManager.watcher.close() + // Nothing really to do if this fails and it's only in development + StudioLifecycleManager.watcher.close().catch(() => {}) } // Watch for changes to the cy prompt