Skip to content

Commit

Permalink
fix: remove skipWaitPort from help and docs (#6478)
Browse files Browse the repository at this point in the history
  • Loading branch information
davbree committed Mar 27, 2024
1 parent 31ef216 commit 986e334
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docs/commands/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ netlify dev
- `no-open` (*boolean*) - disables the automatic opening of a browser window
- `offline` (*boolean*) - disables any features that require network access
- `port` (*string*) - port of netlify dev
- `skip-wait-port` (*boolean*) - disables waiting for target port to become available
- `target-port` (*string*) - port of target app server
- `debug` (*boolean*) - Print debugging information

Expand Down
2 changes: 1 addition & 1 deletion src/commands/dev/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ export const createDevCommand = (program: BaseCommand) => {
.argParser((value) => Number.parseInt(value))
.hideHelp(true),
)
.option('--skip-wait-port', 'disables waiting for target port to become available')
.addOption(new Option('--skip-wait-port', 'disables waiting for target port to become available').hideHelp(true))
.addOption(new Option('--no-open', 'disables the automatic opening of a browser window'))
.option('--target-port <port>', 'port of target app server', (value) => Number.parseInt(value))
.option('--framework <name>', 'framework to use. Defaults to #auto which automatically detects a framework')
Expand Down

2 comments on commit 986e334

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,327
  • Package size: 297 MB
  • Number of ts-expect-error directives: 1,029

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,327
  • Package size: 297 MB
  • Number of ts-expect-error directives: 1,029

Please sign in to comment.