mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-28 20:52:48 +00:00
fix(v2-cli): passes the missing host option to start (#1439)
This commit is contained in:
parent
0834784455
commit
8aef4ec791
|
|
@ -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…
Reference in New Issue