Skip to content
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

feat: log hmr missing warning to prevent crashing compilation with errors #371

Merged
merged 2 commits into from
Apr 25, 2021

Conversation

pmmmwh
Copy link
Owner

@pmmmwh pmmmwh commented Apr 24, 2021

Fixes #289
Fixes #327

Instead of hard erroring out when we cannot detect the HMR runtime, emit a warning to the user instead.
This is useful in cases where the build is complex (e.g. multiple parallel compilers), but would still surface for users.

In the future we might add an option for silencing warnings.

@pmmmwh pmmmwh added the enhancement New feature or request label Apr 24, 2021
@pmmmwh pmmmwh merged commit 35d367a into main Apr 25, 2021
@pmmmwh pmmmwh deleted the fix/hot-warning-crash branch April 25, 2021 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant