You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
options so yarn rw dev won't automatically open a new browser tab on each execution.
It would be nice to have an equivalent for yarn rw sb. Obvious proposal: introduce the option
[storybook]
open = false
into redwood.toml.
Motivation
Even when not trying to narrow down issues that require manual restarts (yes, looking at you #11742 🙊), or hunting down other potential issues (where one can never be sure having multiple tab instances open at the same time doesn't cause side-effects or breaks issue reproducibility): it's simply nice to be able to control in which browser, which window, and when you open the storybook.
Just as with the Redwood Dev server.
And as i'm too lazy to clutter my shell config with yet another alias but also to forgetful and lazy to add the --no-open flag to the command every time, having this configurable would be a nice improvement.
Detailed proposal
Have a config setting that will automatically pass --no-open flag to yarn rw sb.
For full disclosure, there currently exists a workaround by supplying BROWSER=true as an environment variable, but that is a (counter-intuitive and more or less accidental) feature disguised as a bug, disguised as a feature, which officially doesn't even exist … and hence can break anytime. Nothing you'd want to rely on.
Are you interested in working on this?
I'm interested in working on this
The text was updated successfully, but these errors were encountered:
Summary
We have a convenient
options so
yarn rw dev
won't automatically open a new browser tab on each execution.It would be nice to have an equivalent for
yarn rw sb
. Obvious proposal: introduce the optioninto
redwood.toml
.Motivation
Even when not trying to narrow down issues that require manual restarts (yes, looking at you #11742 🙊), or hunting down other potential issues (where one can never be sure having multiple tab instances open at the same time doesn't cause side-effects or breaks issue reproducibility): it's simply nice to be able to control in which browser, which window, and when you open the storybook.
Just as with the Redwood Dev server.
And as i'm too lazy to clutter my shell config with yet another alias but also to forgetful and lazy to add the
--no-open
flag to the command every time, having this configurable would be a nice improvement.Detailed proposal
Have a config setting that will automatically pass
--no-open
flag toyarn rw sb
.Are you interested in working on this?
The text was updated successfully, but these errors were encountered: