Skip to content

fix: hmr is working slowly #4775

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 1 commit into from
Jun 26, 2019
Merged

fix: hmr is working slowly #4775

merged 1 commit into from
Jun 26, 2019

Conversation

rosen-vladimirov
Copy link
Contributor

In recent changes we've broken HMR - in order to get its status on device, we need to call refresh application and monitor the logs. However, the logic at the moment is - wait for logs and call refresh application after that. This leads to very slow hmr. Also this way application will not be restarted when the HMR fails as we do not monitor the logs at the point when the hmr cannot be applied.

PR Checklist

What is the current behavior?

What is the new behavior?

Fixes/Implements/Closes #[Issue Number].

In recent changes we've broken HMR - in order to get its status on device, we need to call refresh application and monitor the logs. However, the logic at the moment is - wait for logs and call refresh application after that. This leads to very slow hmr. Also this way application will not be restarted when the HMR fails as we do not monitor the logs at the point when the hmr cannot be applied.
@rosen-vladimirov rosen-vladimirov self-assigned this Jun 26, 2019
@cla-bot cla-bot bot added the cla: yes label Jun 26, 2019
@rosen-vladimirov
Copy link
Contributor Author

test cli-smoke

@rosen-vladimirov
Copy link
Contributor Author

test cli-smoke

@rosen-vladimirov rosen-vladimirov added the no-changelog The issue is present only in `next` versions and was not included in official version. label Jun 26, 2019
@rosen-vladimirov rosen-vladimirov merged commit d5bfcb2 into master Jun 26, 2019
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-hmr branch June 26, 2019 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes no-changelog The issue is present only in `next` versions and was not included in official version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants