Skip to content

Commit b1dba61

Browse files
committed
refactor: improve no connected devices warning
1 parent 1437793 commit b1dba61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/controllers/preview-app-controller.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export class PreviewAppController extends EventEmitter implements IPreviewAppCon
139139
const platformHmrData = _.cloneDeep(hmrData);
140140
const connectedDevices = this.$previewDevicesService.getDevicesForPlatform(platform);
141141
if (!connectedDevices || !connectedDevices.length) {
142-
this.$logger.warn("Unable to find any connected devices. In order to execute live sync, open your Preview app and optionally re-scan the QR code using the Playground app.");
142+
this.$logger.warn(`Unable to find any connected devices for platform '${platform}'. In order to execute live sync, open your Preview app and optionally re-scan the QR code using the Playground app.`);
143143
return;
144144
}
145145

0 commit comments

Comments
 (0)