Closed samhecquet-divido closed 11 months ago
Hi there @samhecquet-divido ! I am sorry but it's quite difficult for me to reproduce. Can you please create a minimum reproduction repository? It will help me a lot in debugging this for you!
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. If we missed this issue please reply to keep it active. Thanks for being a part of the Nx community! 🙏
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
I can't have 2 Storybook running at the same time since I upgraded Storybook from
6.4.22
to7.4.0
As soon as one storybook compiles (either by updating a file or just starting a new one), the other one will stop working because file http://localhost:XXX/runtime_main.xxx.hot-update.json now throws a
404
error.I tried a hack where I "hardcoded" the filename for each storybook by adding this to both
/.storybook/main.js
config files:For example if
libs/calculator
is running, it's consuming these files:And as soon as
apps/calculator
compiles, if I reload the page for the other storybook (libs/calculator), it will start consuming the files starting byapp.
instead. BUT it's still using the correct port: 4400.Expected Behavior
Each Storybook should be able to run at the same time as it as before.
GitHub Repo
No response
Steps to Reproduce
Sorry, my repo is private so hopefully these files will help you. Let me know if you need more information.
apps/calculator:
libs/calculator:
Storybook Packages:
Nx Report
Failure Logs
Package Manager Version
1.22.19
Operating System
Additional Information
No response