how would I integrate an external watcher process? #26957
Unanswered
BrianHicks
asked this question in
Help
Replies: 1 comment
-
I think I have seen this sort of thing done, with Webpack, but I don't know where one of those examples is at the moment. I don't use Vite and I am not familiar enough with it to know how to do this, but if you know how to configure Vite then I would take a look at Storybook's |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I work on a big project where we build everything with Turborepo using fine-grained packages. So for example, our frontend package depends on the JS init, styles, images, etc, and each of those packages have their own dependencies. I want to set up Storybook to work within that. So I have two questions:
turbo build
in its package directory on changes? That will update all the static files it needs to look for in modules linked undernode_modules
.pnpm run storybook
.This may be asking for a pony, but I don't see a lot about external process management in the docs so I figured I'd ask!
Additional information
I'm starting from scratch, so using Storybook 8.0.9. I have a really minimal config, basically
storybook init
with the HTML/Vite preset.Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions