mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 18:31:08 +08:00
Core: Fix HMR for CSF files
This commit is contained in:
parent
5cd559d4c4
commit
0821501233
@ -343,7 +343,7 @@ export default function start(render, { decorateStory } = {}) {
|
||||
storyStore.removeStoryKind(exp.default.title);
|
||||
}
|
||||
});
|
||||
if (removed.length > 1) {
|
||||
if (removed.length > 0) {
|
||||
storyStore.incrementRevision();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user