-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can only use one device at a time #831
Comments
Comment by mnmtanish This can be done using the bundled version. Unfortunately it won't work with hot module reloading. |
I'm really not sure. |
I don't know the solution but @ajwhite figured this out. It hasn't been merged/contributed yet. |
There are two solutions:
|
The use-case I'd like to see supported would be to control multiple devices simulataneously via the storybook UI. E.g. I click on a story and all devices update to show that story. Ideally the UI could show a list of connected devices somewhere. Think the only way that can work is via solution 1. Not clear on why it'd need to be hosted though? - assuming the storybook UI is already acting as a server and the device as a client. |
Right, you can actually do that but only for multiple devices of same type (either ios or android). If you try to mix and match it starts to fail. But for multiple ios devices it works as you expect, you click on story and all devices show the story. But you could try to start storybook separately (npm run storybook --skip-packager) from packager and then start as many packagers as you want. |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks! |
I think we can close this issue. If you have questions you can ask more about it. |
Issue by mnmtanish
Tuesday Jun 21, 2016 at 06:35 GMT
Originally opened as storybook-eol/react-native-storybook#6
Only one device can use the packager server at a time. It would be great if the storybook can be run on multiple devices simultaneously.
The text was updated successfully, but these errors were encountered: