New Storybook 7 stories indexer refresh question #21039
Unanswered
christianwiedemann
asked this question in
Help
Replies: 2 comments 1 reply
-
|
Are you creating a plugin for your builder framework (Webpack, Vite) that transforms your YAML to CSF? In that case I expect when the JSON is changed and HMR is fired, the builder should trigger the plugin to reimport JSON. Don't forget about cache busting... |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@shilman Do you have a suggestion or an idea how refresh would work in the above mentioned scenario? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I am currently developing an indexer which loads the stories from yaml file with the stories indexer in storybook 7 (beta43). Now I am looking for a way to refresh the stories if the yaml file changed. Is there something like addDependency?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions