Skip to content

Commit

Permalink
[INTERNAL] serve open: Add url option to open method
Browse files Browse the repository at this point in the history
Adding the url option (value set to "true") when an url is provided to
the serve command. This is only for windows compatibility.
  • Loading branch information
svbender committed Nov 4, 2019
1 parent ce0855a commit dba4695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/commands/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ serve.handler = async function(argv) {
browserUrl += relPath;
}
const open = require("open");
open(browserUrl);
open(browserUrl, {url: true});
}
};

Expand Down

0 comments on commit dba4695

Please sign in to comment.