Core: Fix HMR for CSF files

This commit is contained in:
Michael Shilman 2019-08-03 10:50:32 +08:00
parent 5cd559d4c4
commit 0821501233

View File

@ -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();
}