Skip to content

Commit

Permalink
Fix needed for Commander breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
alallier committed Aug 12, 2024
1 parent a8d0317 commit 8dd74b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/reload
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/usr/bin/env node

const program = require('commander')
const { program } = require('commander')
const supervisor = require('supervisor')
const path = require('path')
const os = require('os')
const clc = require('cli-color')

program.version(require('../package.json').version)
program
.version(require('../package.json').version)
.option('-b, --browser', 'Open in the browser automatically.')
.option('-n, --hostname [hostname]', 'If -b flag is being used, this allows for custom hostnames. Defaults to localhost.', 'localhost')
.option('-d, --dir [dir]', 'The directory to serve up. Defaults to current dir.', process.cwd())
Expand Down

0 comments on commit 8dd74b9

Please sign in to comment.