chromatic-cli icon indicating copy to clipboard operation
chromatic-cli copied to clipboard

Preview.tsx not automatically included in TurboSnap externals

Open penx opened this issue 2 years ago • 0 comments

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?

penx avatar Feb 24 '23 11:02 penx