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

Added/removed stories files do not update the story list anymore #606

Open
levilansing opened this issue Mar 8, 2025 · 0 comments
Open
Labels
needs triage needs to be reviewed

Comments

@levilansing
Copy link

Describe the bug

In Ladle 5.0.0 and 5.0.1, file system changes do not update the list of stories. E.g., if I add a new file and write a new story, it does not get added to the list of stories. Similarly if I remove a story file, it does not get removed from the stories list in the UI.

I am able to reproduce with and without custom configuration. I couldn't find a workaround other than downgrading to 4.X.

Reproduction

  1. Run ladle serve
  2. Add a new stories file and export a component
  3. Notice new story does not appear in UI
  4. Delete an existing stories file
  5. Notice stories are still listed in the UI but not viewable (see console errors)

Workaround

Install version 4.X

Environment

  • OS: MacOS Sonoma 14.7.2 (23H311)
  • Browser Chrome
  • Version 5.0.X
@levilansing levilansing added the needs triage needs to be reviewed label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage needs to be reviewed
Projects
None yet
Development

No branches or pull requests

1 participant