Skip to content

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

@levilansing

Description

@levilansing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions