Skip to content

HMR on auto-imported component #86

@rafaelytakei

Description

@rafaelytakei

Hi, it's my first trying to use Vite, so I might be doing something wrong, but here's my problem:

HMR is not working properly on auto imported components using this plugin - if I import them manually it works just fine.

Example repo: https://github.com/rafaelytakei/vite-component-test

On this repo, if you install -> run dev server -> try to change something in the HelloWorld component, it won't update unless I shut down the dev server and start it again. If I import the component manually on pages/index.vue, it updates normally

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions