Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove h alias of host option #181

Merged
merged 1 commit into from
Jul 3, 2017
Merged

Conversation

minhchu
Copy link
Contributor

@minhchu minhchu commented Jul 3, 2017

fix #180

export const watch = (appDir, port) => withLog(
() => spawnPreact(['watch', port ? `-p=${port}` : undefined], appDir),
export const watch = (appDir, host, port) => withLog(
() => spawnPreact(['watch', host ? `--host=${host}` : undefined, port ? `-p=${port}` : undefined], appDir),
Copy link
Member

@reznord reznord Jul 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it is necessary to provide a host here separately. No harm specifying tho. Otherwise looks good to me !! :)

@preactjs preactjs deleted a comment from minhchu Jul 3, 2017
@reznord reznord merged commit 1582d5f into preactjs:master Jul 3, 2017
@rkostrzewski rkostrzewski added this to the 1.4.0 milestone Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot watch on specific host
3 participants