mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
Merge branch 'master' into rmevans9/rn-cli-commands
This commit is contained in:
commit
1361bcf5e3
@ -152,7 +152,8 @@ server.listen(...listenAddr, error => {
|
||||
|
||||
Promise.all([webpackValid, serverListening])
|
||||
.then(() => {
|
||||
const address = `http://${program.host || 'localhost'}:${program.port}/`;
|
||||
const proto = program.https ? 'https' : 'http';
|
||||
const address = `${proto}://${program.host || 'localhost'}:${program.port}/`;
|
||||
logger.info(`Storybook started on => ${chalk.cyan(address)}\n`);
|
||||
if (program.smokeTest) {
|
||||
process.exit(0);
|
||||
|
@ -152,7 +152,8 @@ server.listen(...listenAddr, error => {
|
||||
|
||||
Promise.all([webpackValid, serverListening])
|
||||
.then(() => {
|
||||
const address = `http://${program.host || 'localhost'}:${program.port}/`;
|
||||
const proto = program.https ? 'https' : 'http';
|
||||
const address = `${proto}://${program.host || 'localhost'}:${program.port}/`;
|
||||
logger.info(`Storybook started on => ${chalk.cyan(address)}\n`);
|
||||
if (program.smokeTest) {
|
||||
process.exit(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user