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

[Bug] ArgsTable loses reference when moving files while storybook is running #32

Closed
kroeder opened this issue Jul 30, 2022 · 0 comments · Fixed by #42
Closed

[Bug] ArgsTable loses reference when moving files while storybook is running #32

kroeder opened this issue Jul 30, 2022 · 0 comments · Fixed by #42
Assignees
Labels
bug Something isn't working

Comments

@kroeder
Copy link
Member

kroeder commented Jul 30, 2022

Referencing a component like this

<ArgsTable of={MyComponent} />

then moving MyComponent to another directory causes an empty ArgsTable without any chance of recovering.
I haven't done any research but my assumption is that the file location is cached and if it changes it won't update the cache.

This has a workaround: restart storybook

@kroeder kroeder added the bug Something isn't working label Jul 30, 2022
@Etienne-Buschong Etienne-Buschong self-assigned this Jan 16, 2023
@kroeder kroeder mentioned this issue Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants