Skip to content

Commit

Permalink
adding ci check
Browse files Browse the repository at this point in the history
  • Loading branch information
Zamiell committed May 26, 2022
1 parent cbdcece commit 03909b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus/src/commands/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export async function serve(
logger.success`Serving path=${buildDir} directory at: url=${url}`;
server.listen(port);

if (cliOptions.open) {
if (cliOptions.open && !process.env.CI) {
openBrowser(url);
}
}

0 comments on commit 03909b5

Please sign in to comment.