question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HMR doesn't work after Storybook v6.1.14

See original GitHub issue

Describe the bug When I update a component or a stylesheet link to it, the hot module reload is not triggered.

To Reproduce Update a component by updating a prop, adding a classname, or whatever.

Expected behavior HMR should be trigger on every component update.

System

Environment Info:

  System:
    OS: macOS 10.15.7
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
  Binaries:
    Node: 14.15.3 - ~/.asdf/installs/nodejs/14.15.3/bin/node
    Yarn: 1.22.10 - ~/.asdf/shims/yarn
    npm: 6.14.9 - ~/.asdf/installs/nodejs/14.15.3/bin/npm
  Browsers:
    Chrome: 88.0.4324.150
    Firefox: 84.0.2
    Safari: 14.0.1
  npmPackages:
    @storybook/addon-a11y: 6.1.18 => 6.1.18
    @storybook/addon-actions: 6.1.18 => 6.1.18
    @storybook/addon-docs: 6.1.18 => 6.1.18
    @storybook/addon-essentials: 6.1.18 => 6.1.18
    @storybook/addon-links: 6.1.18 => 6.1.18
    @storybook/addons: 6.1.18 => 6.1.18
    @storybook/react: 6.1.18 => 6.1.18
    @storybook/theming: 6.1.18 => 6.1.18

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
reno1979commented, Jul 15, 2021

same problem here (6.3.0 -> 6.3.4) It keeps building and is very very slow. The project has only 10 stories

0reactions
krishn-kkcommented, Apr 26, 2021

Hi, have we identified any issues regarding this? Or is it already fixed in the latest updates? Cause I was using Storybook v6.1.21 and facing the exact same issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not working in IE11 for new create-react-app project #12179
I have ran the build instead of the HMR based dev version of storybook as I understand that allot of dev tools just...
Read more >
Babel - Storybook
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >
Install Storybook
Storybook needs to be installed into a project that is already set up with a framework. It will not work on an empty...
Read more >
Storybook for Vite
Lightning-fast development with native ES Modules. ... Frontend devs were able to relax and get real work done rather than frantically ...
Read more >
React Router v6 Addon | Storybook: Frontend workshop for UI ...
Use React Router v6 in your stories. ... Storybook versions prior 6.4 are very likely to work, I just didn't test them. If...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found