mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 12:57:47 +00:00
Make the message for when the server is running shorter (#2262)
This commit is contained in:
@@ -459,7 +459,7 @@ export default class DevServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.output.ready(
|
this.output.ready(
|
||||||
`Development server running at ${chalk.cyan.underline(
|
`Available at ${chalk.cyan.underline(
|
||||||
address.replace('[::]', 'localhost')
|
address.replace('[::]', 'localhost')
|
||||||
)}`
|
)}`
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ test.before(async () => {
|
|||||||
const output = createOutput({})
|
const output = createOutput({})
|
||||||
const origReady = output.ready
|
const origReady = output.ready
|
||||||
output.ready = msg => {
|
output.ready = msg => {
|
||||||
if (msg.toString().match(/Development server running at/)) {
|
if (msg.toString().match(/Available at/)) {
|
||||||
readyResolve()
|
readyResolve()
|
||||||
}
|
}
|
||||||
origReady(msg)
|
origReady(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user