Skip to content

Commit 769bac8

Browse files
committed
fix: re-run all tests when any non typescript file changes
1 parent 17762eb commit 769bac8

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/Test/index.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -306,9 +306,7 @@ export class TestsServer {
306306
}
307307

308308
this.logger.action('create').succeeded(relativePath)
309-
if (metaData.reload) {
310-
await this.run()
311-
}
309+
await this.run()
312310
})
313311

314312
/**
@@ -331,9 +329,7 @@ export class TestsServer {
331329
}
332330

333331
this.logger.action('update').succeeded(relativePath)
334-
if (metaData.reload || metaData.rcFile) {
335-
await this.run()
336-
}
332+
await this.run()
337333
})
338334

339335
/**
@@ -363,9 +359,7 @@ export class TestsServer {
363359
}
364360

365361
this.logger.action('delete').succeeded(relativePath)
366-
if (metaData.reload) {
367-
await this.run()
368-
}
362+
await this.run()
369363
})
370364

371365
/**

0 commit comments

Comments
 (0)