Make the message for when the server is running shorter (#2262)

This commit is contained in:
Leo Lamprecht
2019-04-28 23:01:24 +02:00
parent 18dc7cb3f4
commit f53feed8f5
2 changed files with 2 additions and 2 deletions

View File

@@ -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')
)}`
);

View File

@@ -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)