Skip to content

Commit

Permalink
Add -p alias
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Jan 23, 2024
1 parent 06e8fd0 commit bd5f733
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cli/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class DevCommand extends Command {
description: `Start a development server`,
})

port = Option.String("--port", "3000", {
port = Option.String("--port,-p", "3000", {
description: "The port to serve your app on",
})

Expand Down Expand Up @@ -47,7 +47,6 @@ export class DevCommand extends Command {
})
})

const command = this
await watchAndBundle({
directoryPath: this.appDirectory,
// todo: allow running in the same Node.js process/context to access system APIs
Expand Down

0 comments on commit bd5f733

Please sign in to comment.