We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88d2136 commit 28d53f8Copy full SHA for 28d53f8
.changeset/sunny-comics-brake.md
@@ -0,0 +1,5 @@
1
+---
2
+'myst-cli': patch
3
4
+
5
+Generalize the http logger for myst-cli
packages/myst-cli/src/build/site/logger.ts
@@ -11,7 +11,7 @@ export function createServerLogger(
11
const line = data.trim();
12
if (!line || line.startsWith('>') || line.startsWith('Watching')) return;
13
if (line.includes('File changed: app/content')) return; // This is shown elsewhere
14
- if (line.includes('started at http://')) {
+ if (line.includes('http://')) {
15
const [, ipAndPort] = line.split('http://');
16
const port = ipAndPort.split(':')[1].replace(/[^0-9]/g, '');
17
const local = `http://${opts.host}:${port}`;
0 commit comments