mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +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(
|
||||
`Development server running at ${chalk.cyan.underline(
|
||||
`Available at ${chalk.cyan.underline(
|
||||
address.replace('[::]', 'localhost')
|
||||
)}`
|
||||
);
|
||||
|
||||
@@ -15,7 +15,7 @@ test.before(async () => {
|
||||
const output = createOutput({})
|
||||
const origReady = output.ready
|
||||
output.ready = msg => {
|
||||
if (msg.toString().match(/Development server running at/)) {
|
||||
if (msg.toString().match(/Available at/)) {
|
||||
readyResolve()
|
||||
}
|
||||
origReady(msg)
|
||||
|
||||
Reference in New Issue
Block a user