-
-
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
Open browser automatically on run #546
Comments
@evandavis I haven't used this plugin personally. |
Hey there, the Webpack team added this option to webpack-dev-server which I think is swell. Maybe Storybook can do similar? so then |
Was a bug in the open-browser-webpack-plugin. See: baldore/open-browser-webpack-plugin/issues/11 |
@texttechne correct, fixed in baldore/open-browser-webpack-plugin#11. |
@shilman are you into adding this as an option to storybook itself? I'd be down to work on it :) |
@ericandrewlewis i'm not familiar with that webpack plugin, but if it works well, sure that would be a great addition! thanks! |
found a quick fix that does this, however the browser loads and waits until the build is finished, but if you can deal with that: first install the openurl package then edit /node_modules/.bin/start-storybook and add the line (under
|
Hi, I'm trying to use the open-browser-webpack-plugin to launch my storybook in the browser as soon as it's ready. However, when I use this plugin, the server hangs and doesn't render anything.
I opened an issue on that repo as well because I'm not sure where the problem lies. (My suspicion is that it's something in the way that plugin unregisters after build conflicting with the HMR plugin?)
Here's the webpack config I'm using in my storybook:
Thanks!
The text was updated successfully, but these errors were encountered: