expo/examples

With latest storybookjs, build-storybook would require refresh on every story change.

zhigang1992 opened this issue · 0 comments

Describe the bug
https://github.com/zhigang1992/storybook-bug-reproduce
storybook 5 works fine out of the box, but when upgraded to storybook 6.

Building with expo's webpack config, the production storybook build will require browser refresh on every story change.

To Reproduce
Steps to reproduce the behavior:

  1. clone https://github.com/zhigang1992/storybook-bug-reproduce
  2. yarn && yarn build-storybook && npx http-server storybook-static
  3. Go to 'any story'
  4. Click on 'any other story'
  5. Canvas doesn't update
  6. Refresh and then it will update

Desktop (please complete the following information):

  • OS: Web
  • Browser: Chrome
  • Version: Latest

Additional context