Preview.tsx not automatically included in TurboSnap externals
penx opened this issue · 0 comments
penx commented
Bug report
When preview.tsx changes, TurboSnap should rerun all stories, but I just had a commit that changed our preview.tsx and all snapshots were skipped.
Here's our build
https://www.chromatic.com/build?appId=63dd4a7b40aacee2d50ccc51&number=340
In our case, preview.tsx is in a custom location, and passed to build-storybook using --config-dir, so if this is supposed to work then perhaps the bug is that the config-dir is not included in TurboSnap externals?