Skip to content

Commit dba4695

Browse files
committed
[INTERNAL] serve open: Add url option to open method
Adding the url option (value set to "true") when an url is provided to the serve command. This is only for windows compatibility.
1 parent ce0855a commit dba4695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cli/commands/serve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ serve.handler = async function(argv) {
115115
browserUrl += relPath;
116116
}
117117
const open = require("open");
118-
open(browserUrl);
118+
open(browserUrl, {url: true});
119119
}
120120
};
121121

0 commit comments

Comments
 (0)