close
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bin/cli-flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
name: 'live-reload',
type: Boolean,
describe: 'Enables/Disables live reloading on changing files',
negative: true,
},
{
name: 'profile',
Expand All @@ -43,7 +44,7 @@ module.exports = {
},
{
name: 'open',
type: String,
type: [String, Boolean],
describe:
'Open the default browser, or optionally specify a browser name',
},
Expand Down Expand Up @@ -79,10 +80,11 @@ module.exports = {
},
{
name: 'static',
type: String,
type: [String, Boolean],
describe: 'A directory to serve static content from.',
group: RESPONSE_GROUP,
multiple: true,
negative: true,
},
{
name: 'history-api-fallback',
Expand Down Expand Up @@ -121,8 +123,6 @@ module.exports = {
describe: 'The hostname/ip address the server will bind to',
group: CONNECTION_GROUP,
},
// use command-line-args "multiple" option, allowing the usage: --allowed-hosts host1 host2 host3
// instead of the old, comma-separated syntax: --allowed-hosts host1,host2,host3
{
name: 'allowed-hosts',
type: String,
Expand Down