File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 55
55
56
56
cli
57
57
. command ( 'watch [...filters]' )
58
- . action ( start )
58
+ . action ( watch )
59
59
60
60
cli
61
61
. command ( 'dev [...filters]' )
62
- . action ( start )
62
+ . action ( watch )
63
63
64
64
cli
65
65
. command ( 'bench [...filters]' )
66
66
. action ( benchmark )
67
67
68
68
cli
69
69
. command ( '[...filters]' )
70
- . action ( ( filter , options ) => start ( 'test' , filter , options ) )
70
+ . action ( watch )
71
71
72
72
cli . parse ( )
73
73
@@ -77,6 +77,11 @@ async function runRelated(relatedFiles: string[] | string, argv: CliOptions) {
77
77
await start ( 'test' , [ ] , argv )
78
78
}
79
79
80
+ async function watch ( cliFilters : string [ ] , options : CliOptions ) {
81
+ options . watch = true
82
+ await start ( 'test' , cliFilters , options )
83
+ }
84
+
80
85
async function run ( cliFilters : string [ ] , options : CliOptions ) {
81
86
options . run = true
82
87
await start ( 'test' , cliFilters , options )
You can’t perform that action at this time.
0 commit comments