Skip to content

Commit

Permalink
docs(changeset): Fix bug in CLI parser where omitting --watch would…
Browse files Browse the repository at this point in the history
… force `watch: false` even if config sets `watch: true`.
  • Loading branch information
benjie committed Nov 22, 2023
1 parent 8678298 commit 0048892
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/hip-ants-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"postgraphile": patch
---

Fix bug in CLI parser where omitting `--watch` would force `watch: false` even
if config sets `watch: true`.
2 changes: 0 additions & 2 deletions postgraphile/postgraphile/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ export function options(yargs: Argv) {
alias: "w",
type: "boolean",
description: "Watch mode (monitor DB for schema changes)",
default: false,
})
.option("port", {
alias: "p",
Expand All @@ -56,7 +55,6 @@ export function options(yargs: Argv) {
alias: "n",
type: "string",
description: "The host to bind our HTTP server to",
default: "localhost",
})
.option("subscriptions", {
type: "boolean",
Expand Down

0 comments on commit 0048892

Please sign in to comment.