flipbook-labs / flipbook

Storybook plugin for Roblox UI
https://flipbook-labs.github.io/flipbook/
MIT License
95 stars 7 forks source link

Fails to handle when another plugin reloads #223

Open vocksel opened 10 months ago

vocksel commented 10 months ago

Describe the bug

When working on a plugin and reloading it during development, the plugin's storybook breaks and becomes inoperable

Expected behavior

Reload of a plugin should have no effect on its storybook

Steps to reproduce

  1. Use rojo build ... --watch to build the plugin
  2. Ensure the plugin has a storybook and that stories can be viewed normally
  3. Iterate on the plugin, save it, and reload it in Studio
  4. Observe that flipbook fails to handle this case and the storybook for the plugin breaks