From f3025cde4c4d45372bc4ff3818eeb3b14051994c Mon Sep 17 00:00:00 2001 From: Vladimir Sheremet Date: Sun, 4 Sep 2022 19:46:59 +0300 Subject: [PATCH] fix: don't hang when running vitest --- packages/vitest/src/node/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vitest/src/node/cli.ts b/packages/vitest/src/node/cli.ts index 2667ba272a5f..fee2594781f7 100644 --- a/packages/vitest/src/node/cli.ts +++ b/packages/vitest/src/node/cli.ts @@ -67,7 +67,7 @@ cli cli .command('[...filters]') - .action(watch) + .action((filters, options) => start('test', filters, options)) cli.parse()