Skip to content

feat: add --hmr option #3876

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 5 commits into from
Sep 10, 2018
Merged

feat: add --hmr option #3876

merged 5 commits into from
Sep 10, 2018

Conversation

vtrifonov
Copy link
Contributor

PR Checklist

--hmr option

This PR introduces a new option - --hmr. If passed it will enable --bundle by default and will not restart the application when you change a js/ts file

Related to #3875.

vtrifonov and others added 4 commits September 5, 2018 17:49
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.
@Fatme
Copy link
Contributor

Fatme commented Sep 10, 2018

Great!

fix: remove using of `$options` for hmr usage
@rosen-vladimirov rosen-vladimirov merged commit 7a780b9 into master Sep 10, 2018
@rosen-vladimirov rosen-vladimirov deleted the trifonov/hmr branch January 17, 2020 13:31
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.

3 participants