mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-05 22:19:46 -06:00
floating promise
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user