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

[Bug]: Vite HMR Issue #26985

Open
telam opened this issue Apr 29, 2024 · 1 comment
Open

[Bug]: Vite HMR Issue #26985

telam opened this issue Apr 29, 2024 · 1 comment

Comments

@telam
Copy link

telam commented Apr 29, 2024

Describe the bug

Storybook doesn't seem to be updating properly with Vite HMR.

#26984

To Reproduce

https://stackblitz.com/edit/github-tgehw4?file=src%2Fstories%2FExample.tsx

System

Storybook Environment Info:
  System:
    OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
    CPU: (24) x64 13th Gen Intel(R) Core(TM) i7-13700
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 21.7.1 - ~/.nvm/versions/node/v21.7.1/bin/node
    npm: 10.5.0 - ~/.nvm/versions/node/v21.7.1/bin/npm <----- active

Additional context

Additional contexts can be found in this discussion

@vanessayuenn
Copy link
Contributor

I suspect this might be a dupe of #26881. @telam can you try if this workaround fixes your problem?

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