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

HMR broken when use script lang="ts" #428

Closed
8 of 9 tasks
robin-dongbin opened this issue Jul 17, 2024 · 1 comment
Closed
8 of 9 tasks

HMR broken when use script lang="ts" #428

robin-dongbin opened this issue Jul 17, 2024 · 1 comment

Comments

@robin-dongbin
Copy link

Related plugins

Describe the bug

When you update the content of console.log, HMR is broken.

Reproduction

https://stackblitz.com/edit/vitejs-vite-q32exk?file=src%2Fcomponents%2FTest.vue&terminal=dev

Steps to reproduce

Try to update the content of console.log

System Info

System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 1.88 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.4.0 - /opt/homebrew/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.8.1 - /opt/homebrew/bin/npm
    pnpm: 9.5.0 - /opt/homebrew/bin/pnpm
    bun: 1.1.18 - /opt/homebrew/bin/bun
  Browsers:
    Brave Browser: 126.1.67.123
    Chrome: 126.0.6478.128
    Edge: 126.0.2592.102
    Safari: 17.5
  npmPackages:
    vite: ^5.3.3 => 5.3.3

Used Package Manager

pnpm

Logs

There has no logs when it's broken, it just stuck

Validations

@edison1105
Copy link
Member

edison1105 commented Sep 16, 2024

duplicate of #428
fixed via e4f5fff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants