mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-19 09:37:43 +02:00
fix(v2-cli): passes the missing host option to start (#1439)
This commit is contained in:
parent
0834784455
commit
8aef4ec791
1 changed files with 2 additions and 1 deletions
|
@ -86,9 +86,10 @@ program
|
|||
'Do not fallback to page refresh if hot reload fails (default: false)',
|
||||
)
|
||||
.option('--no-cache-loader', 'Do not use cache-loader')
|
||||
.action((siteDir = '.', {port, noWatch, hotOnly, cacheLoader}) => {
|
||||
.action((siteDir = '.', {port, host, noWatch, hotOnly, cacheLoader}) => {
|
||||
wrapCommand(start)(path.resolve(siteDir), {
|
||||
port,
|
||||
host,
|
||||
noWatch,
|
||||
hotOnly,
|
||||
cacheLoader,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue