Skip to content

Commit

Permalink
Merge pull request #435 from hashicorp/ds.fix-start-dev-server
Browse files Browse the repository at this point in the history
fix: watch for the correct log message
  • Loading branch information
dstaley authored Feb 23, 2024
2 parents b6635c5 + 1ee1603 commit b9afe08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .jest/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export async function startDevServer(dir: string) {
const msg = chunk.toString()
process.stdout.write(chunk)

if (msg.includes('started server on') && msg.includes('url:')) {
if (msg.includes('Ready in')) {
resolve(undefined)
}
})
Expand Down

0 comments on commit b9afe08

Please sign in to comment.