Skip to content

fix: remove using of $options for hmr usage #3877

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 10, 2018

Conversation

rosen-vladimirov
Copy link
Contributor

fix: remove using of $options for hmr usage …
Introduce useHotModuleReload option in the LiveSyncData, so we will not have to use $options in order to determine if hmr is passed.
This way the logic will work in Sidekick as well.

Delete --liveEdit option as it is no longer used.

Introduce `useHotModuleReload` option in the LiveSyncData, so we will not have to use `$options` in order to determine if `hmr` is passed.
This way the logic will work in Sidekick as well.

Delete --liveEdit option as it is no longer used.
Set the result of the `useHotModuleReload` in the result of the LiveSync operation, so the code that decides if app should be restarted will have access to the passed value.
@rosen-vladimirov rosen-vladimirov merged commit 9eea83f into trifonov/hmr Sep 10, 2018
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/hmr branch September 10, 2018 10:24
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