Skip to content

SoftResetHandler can not be disabled #108

@davidenke

Description

@davidenke

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 😀.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions