Skip to content

Commit 363bf0f

Browse files
committed
fix: stop livesync on initial sync when there is an error
1 parent 5e1d236 commit 363bf0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/controllers/run-controller.ts

+2
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ export class RunController extends EventEmitter implements IRunController {
330330
applicationIdentifier: projectData.projectIdentifiers[device.deviceInfo.platform.toLowerCase()],
331331
error: err,
332332
});
333+
334+
await this.stop({ projectDir: projectData.projectDir, deviceIdentifiers: [device.deviceInfo.identifier] });
333335
}
334336
};
335337

0 commit comments

Comments
 (0)