diff --git a/packages/builder/builder-webpack-provider/src/webpackPlugins/ProgressPlugin/helpers/nonTty.ts b/packages/builder/builder-webpack-provider/src/webpackPlugins/ProgressPlugin/helpers/nonTty.ts index 2dad309c773b..dcbd47f0e3a1 100644 --- a/packages/builder/builder-webpack-provider/src/webpackPlugins/ProgressPlugin/helpers/nonTty.ts +++ b/packages/builder/builder-webpack-provider/src/webpackPlugins/ProgressPlugin/helpers/nonTty.ts @@ -24,16 +24,16 @@ export function createNonTTYLogger() { prevPercentage = 100; if (hasErrors) { - logger.error(`[${id}] compile failed in ${compileTime}`); + logger.error(`${id} compile failed in ${compileTime}`); } else { - logger.success(`[${id}] compile succeed in ${compileTime}`); + logger.ready(`${id} compiled in ${compileTime}`); } } // print progress when percentage increased by more than 10% // because we don't want to spam the console else if (current - prevPercentage > 10) { prevPercentage = current; - logger.info(`[${id}] compile progress: ${current.toFixed(0)}%`); + logger.info(`${id} compile progress: ${current.toFixed(0)}%`); } }; diff --git a/packages/document/builder-doc/docs/en/api/builder-instance.mdx b/packages/document/builder-doc/docs/en/api/builder-instance.mdx index 850d72644203..5e7901446de0 100644 --- a/packages/document/builder-doc/docs/en/api/builder-instance.mdx +++ b/packages/document/builder-doc/docs/en/api/builder-instance.mdx @@ -228,7 +228,6 @@ After successfully starting Dev Server, you can see the following logs: ```bash info Starting dev server... -info Dev server running at: > Local: http://localhost:8080 > Network: http://192.168.0.1:8080 diff --git a/packages/document/builder-doc/docs/en/guide/quick-start.mdx b/packages/document/builder-doc/docs/en/guide/quick-start.mdx index 3c0558935dd8..17a28b3b82a0 100644 --- a/packages/document/builder-doc/docs/en/guide/quick-start.mdx +++ b/packages/document/builder-doc/docs/en/guide/quick-start.mdx @@ -105,7 +105,6 @@ After successfully starting Dev Server, you can see the following logs: ```bash info Starting dev server... -info Dev server running at: > Local: http://localhost:8081 > Network: http://192.168.0.1:8081 diff --git a/packages/document/builder-doc/docs/zh/api/builder-instance.mdx b/packages/document/builder-doc/docs/zh/api/builder-instance.mdx index 68ee20c9427d..75f6a04382d2 100644 --- a/packages/document/builder-doc/docs/zh/api/builder-instance.mdx +++ b/packages/document/builder-doc/docs/zh/api/builder-instance.mdx @@ -228,7 +228,6 @@ await builder.startDevServer(); ```bash info Starting dev server... -info Dev server running at: > Local: http://localhost:8080 > Network: http://192.168.0.1:8080 diff --git a/packages/document/builder-doc/docs/zh/guide/quick-start.mdx b/packages/document/builder-doc/docs/zh/guide/quick-start.mdx index 315faafdf592..85af436549e3 100644 --- a/packages/document/builder-doc/docs/zh/guide/quick-start.mdx +++ b/packages/document/builder-doc/docs/zh/guide/quick-start.mdx @@ -105,7 +105,6 @@ await builder.startDevServer(); ```bash info Starting dev server... -info Dev server running at: > Local: http://localhost:8081 > Network: http://192.168.0.1:8081 diff --git a/tests/utils/modernTestUtils.js b/tests/utils/modernTestUtils.js index 0c2bbd9676da..6548f0168f65 100644 --- a/tests/utils/modernTestUtils.js +++ b/tests/utils/modernTestUtils.js @@ -89,8 +89,8 @@ function runModernCommandDev(argv, stdOut, options = {}) { function handleStdout(data) { const message = data.toString(); const bootupMarkers = { - dev: /(App|Dev server|Preview server) running at/i, - serve: /(App|Dev server|Preview server) running at/i, + dev: /> Local:/i, + serve: /> Local:/i, }; if (bootupMarkers[options.modernServe ? 'serve' : 'dev'].test(message)) { if (!didResolve) {