Core: Fix HMR for CSF files (#7669)

Core: Fix HMR for CSF files
This commit is contained in:
Michael Shilman 2019-08-03 12:00:44 +08:00 committed by GitHub
commit 5b9d07ba47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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