Skip to content

Commit

Permalink
patch: don't auto restart immediately after robo start failure in dev…
Browse files Browse the repository at this point in the history
… mode
  • Loading branch information
Pkmmte committed Sep 14, 2023
1 parent 1f8b8b5 commit 38a2668
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-pugs-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@roboplay/robo.js': patch
---

patch: don't auto restart immediately after robo start failure in dev mode
5 changes: 2 additions & 3 deletions packages/robo/src/cli/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,9 @@ async function devAction(_args: string[], options: DevCommandOptions) {
color.redBright,
color.underline,
color.bold
)(`Robo exited with code ${exitCode}.`),
`Restarting...`
)(`Robo exited with code ${exitCode}`)
)
return true
return false
}
},
onRetry: (value: string) => {
Expand Down

0 comments on commit 38a2668

Please sign in to comment.