fix(v2-cli): passes the missing host option to start (#1439)

This commit is contained in:
Alireza 2019-05-07 17:22:18 -07:00 committed by Endi
parent 0834784455
commit 8aef4ec791

View file

@ -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,