Skip to content

Conversation

DimitarTachev
Copy link
Contributor

PR Checklist

related to #3813

Copy link
Contributor

@Fatme Fatme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

});

await this.$playgroundQrCodeGenerator.generateQrCodeForCurrentApp();
await this.$playgroundQrCodeGenerator.generateQrCodeForCurrentApp({ useHmr: this.$options.hmr });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can unify useHmr option name with useHotModuleReload

await this.$playgroundQrCodeGenerator.generateQrCodeForCurrentApp({ useHotModuleReload: this.$options.hmr })


interface IPreviewSdkService {
qrCodeUrl: string;
getQrCodeUrl(options: { useHmr: boolean }): string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use IHasUseHotModuleReloadOption interface here

getQrCodeUrl(options: IHasUseHotModuleReloadOption): string;

}

describe("previewAppLiveSyncService", () => {
describe.only("previewAppLiveSyncService", () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this .only()

@DimitarTachev DimitarTachev force-pushed the tachev/preview-hmr branch 5 times, most recently from 849fa5f to d5cb873 Compare September 18, 2018 14:34
Copy link
Contributor

@Fatme Fatme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after green build!

@DimitarTachev DimitarTachev merged commit 2abae5f into master Sep 18, 2018
@DimitarTachev DimitarTachev deleted the tachev/preview-hmr branch September 18, 2018 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants