-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(storybook): remove hard-coded ci:true option #9827
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nrwl/nx-dev/84Jo5mqBEUHRNzbrtn57oZfWR2mt [Deployment for 27f01fc canceled] |
Is the default behaviour with this change the same as it was before it? It'll run headlessly until the asks otherwise? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎉
ISSUES CLOSED: nrwl#9681
2fc4215
to
27f01fc
Compare
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
ISSUES CLOSED: #9681
Current Behavior
This issue is due to this line here.
our hard-coded
ci: true
.In the Storybook docs it says for the
--ci
option: "CI mode (skip interactive prompts, don't open browser)"This line
ci: true
has been there since the beginning of time. It is believed to have been put there back in 2019 to avoid interactive prompts. Interactive prompts no longer happen, even if we remove theci: true
.Here's the Storybook code for reference:
As to why for pure Storybook apps it opens automatically, it's because this transformation here adds the
open: true
option. We don't do this step in our server, because we usebuildDevStandalone
(we will usebuildDev
eventually):Expected Behavior
User can pass
--open
and it will not be ignored.Related Issue(s)
#9681