mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 08:01:20 +08:00
Merge pull request #8584 from RamKrish2079/fix/rn-server-port-prompt
React-native-server: Changed default port to number in CLI options
This commit is contained in:
commit
ba74d889fc
2
app/react-native-server/src/server/cli.js
vendored
2
app/react-native-server/src/server/cli.js
vendored
@ -8,7 +8,7 @@ export function parseList(str) {
|
||||
function getCli() {
|
||||
program
|
||||
.option('-h, --host <host>', 'host to listen on', 'localhost')
|
||||
.option('-p, --port <port>', 'port to listen on', str => parseInt(str, 10), '7007')
|
||||
.option('-p, --port <port>', 'port to listen on', str => parseInt(str, 10), 7007)
|
||||
.option('-e, --environment [environment]', 'DEVELOPMENT/PRODUCTION environment for webpack')
|
||||
.option('-i, --manual-id', 'allow multiple users to work with same storybook')
|
||||
.option('-c, --config-dir [dir-name]', 'Directory where to load Storybook configurations from')
|
||||
|
Loading…
x
Reference in New Issue
Block a user