Skip to content
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

CLI option to load stories from specified directories #8247

ZorGleH opened this issue Oct 1, 2019 · 2 comments


Copy link

@ZorGleH ZorGleH commented Oct 1, 2019

Is your feature request related to a problem? Please describe.
I use Storybook in a large multi-project/libraries codebase. Sometimes I'd like to run only stories from specified directories, because my computer takes several minutes to load all the stories. Of course I could do that from the config file, but it would be much more simple to have a CLI option for it.

Describe the solution you'd like
I'd like an option to run stories from a given directory. e.g. start-storybook -d ./path/to/stories/**/*.stories.tsx,./another/path/to/stories/**/*.stories.tsx

Describe alternatives you've considered
Passing different config files with -c option, but it is not flexible enough because you have to edit or add a new config for each case.

Are you able to assist bring the feature to reality?
Why not! It would be great if you could tell me the best way to do this.

Additional context


This comment has been minimized.

Copy link

@stale stale bot commented Oct 22, 2019

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

@stale stale bot added the inactive label Oct 22, 2019

This comment has been minimized.

Copy link

@stale stale bot commented Nov 21, 2019

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

@stale stale bot closed this Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.