Skip to content

Commit

Permalink
Use the specified host (#2763)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofk authored and devongovett committed Mar 11, 2019
1 parent 3e3298a commit 70f1008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/parcel-bundler/src/cli.js
Expand Up @@ -224,7 +224,7 @@ async function bundle(main, command) {
const server = await bundler.serve(port, command.https, command.host);
if (server && command.open) {
await require('./utils/openInBrowser')(
`${command.https ? 'https' : 'http'}://localhost:${
`${command.https ? 'https' : 'http'}://${command.host || 'localhost'}:${
server.address().port
}`,
command.open
Expand Down

0 comments on commit 70f1008

Please sign in to comment.