doczjs / docz

✍ It has never been so easy to document your things!
https://docz.site
MIT License
23.63k stars 1.46k forks source link

Hot reload with monorepo #1539

Closed AlexandrAnash closed 4 years ago

AlexandrAnash commented 4 years ago

Bug Report

Describe the bug

Hi, I use similar structure folders with lerna and docz. https://github.com/doczjs/docz/tree/master/examples/monorepo-separate-docs

But in the example with monorepo don't work hot reload components from packages.

When I change any package, the whole page reloads and it is very long.

To Reproduce

In example https://github.com/doczjs/docz/tree/master/examples/monorepo-separate-docs

  1. cd monorepo-separate-docs
  2. yarn
  3. yarn dev
  4. In alert/index.js -> change color info: '#5352ED' to info: '#ddd'
  5. page full reload

Expected behavior

Only a color change has occurred without full reload page

Environment

Additional context/Screenshots https://cloud.mail.ru/public/67Zd/M1k7CJzCe

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.