Skip to content

Commit 9509d01

Browse files
authored
fix(gatsby): catch when lock already unlocked (#26805)
1 parent 3e92795 commit 9509d01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/gatsby/src/commands/develop.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,5 +465,7 @@ function shutdownServices(
465465
services.push(unlock())
466466
})
467467

468-
return Promise.all(services).then(() => {})
468+
return Promise.all(services)
469+
.catch(() => {})
470+
.then(() => {})
469471
}

0 commit comments

Comments
 (0)