We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef98093 commit 7df573fCopy full SHA for 7df573f
packages/blink/src/react/use-devhook.ts
@@ -66,14 +66,13 @@ export default function useDevhook(options: UseDevhookOptions) {
66
// Ignore errors reading lock info
67
}
68
69
- options.logger.error(
70
- "system",
+ // don't use logger since it's not guaranteed to print before exiting
+ console.error(
71
chalk.red(
72
`\nError: Another ${chalk.bold("blink dev")} process is already running in this directory${pidMessage}.`
73
)
74
);
75
76
77
chalk.red(`Please stop the other process and try again.\n`)
78
79
process.exit(1);
0 commit comments