storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
84.83k stars 9.34k forks source link

Is there a hook when " Storybook service started "? #12624

Open richshaw2015 opened 4 years ago

richshaw2015 commented 4 years ago

Is your feature request related to a problem? Please describe I have an Electron app, the stories must be opened in Electron. But I didn't know when the service has started ? So far I use this develop command, but got blank page when first open (I have to check every seconds whether the service has started): start-storybook -s ./public -p 12315 --ci & electron .storybook/electron.index.js

Describe the solution you'd like the start-storybook command add an option, maybe --hook-cmd="electron .storybook/electron.index.js" Usage: start-storybook [options]

Describe alternatives you've considered maybe there is better solution?

Are you able to assist to bring the feature to reality? no

Additional context Add any other context or screenshots about the feature request here.

stale[bot] commented 3 years ago

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 30 days. Thanks!