Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

HMR not working as expected, reloads page instead #437

Open
@metachris

Description

@metachris

Hot reloading components does not work at the moment (used to work just fine).

Describe the issue / bug.

When setting up a new project, hot reloading does not work.
It used to work, I have a project from about 2 weeks ago (setup the same way) where it works just fine.

How can I reproduce this problem?
  • Setup a new project: vue init simulatedgreg/electron-vue my-project
  • Install dependencies: yarn
  • Start: yarn run dev
  • Make a change in the HTML of a component, eg. change a text in src/renderer/components/LandingPage/SystemInformation.vue

It will reload the whole app instead of hot-reloading the component.

Tell me about your development environment.
  • Node version: 8.4.0
  • NPM version: 5.5.1
  • Yarn version: 1.0.1
  • vue-cli version: 2.9.1
  • Operating System: Darwin

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions