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

SoftResetHandler can not be disabled #108

Open
davidenke opened this issue Mar 11, 2022 · 0 comments
Open

SoftResetHandler can not be disabled #108

davidenke opened this issue Mar 11, 2022 · 0 comments

Comments

@davidenke
Copy link

What is the problem

Using a hard reset for changed main file makes sense, but it always registers a soft reset handler as well.
If already some development server is used (or some hmr magic) it would make sense to opt out from the soft reload handler registration as well.

How to reproduce

Use e.g. Stencil in conjunction with Electron.

Additional information

This should not be very difficult, just introducing a new option and a condition for the handler registration.
I would provide a PR if wanted 😀.

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

No branches or pull requests

1 participant