-
-
Notifications
You must be signed in to change notification settings - Fork 9.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
getstorybook -f overwrites existing stories #365
Comments
Could you give me more info on this. Just invoking |
Thanks, |
@michaelryancaputo The thing is you need to commit the files created by I hope that's the issue here. Or could you give me a sample repo or some other way we could re-produce this locally. Then I can dive more. |
Ok, it seems like there is a I guess that is the only way to do this. Thank you for your prompt reply. Please close this if you are satisfied with this answer. Thanks again. |
great. |
Use case:
Creating react components that will be used in a private npm registry. To init the storybook app to view/make changes, it needs to be reinitialized. The only way to do this seems to be to run
getstorybook -f
which seems to overwrite any changes to the/stories
folder.A user should be able to pull a repo containing a storybook component and initialize a storybook app that does not overwrite work.
The text was updated successfully, but these errors were encountered: