Skip to content

Commit

Permalink
fix(test-runner-core): enable file watcher in manual mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tmsns committed Mar 29, 2023
1 parent f4a570a commit cdeafe4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/famous-pens-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@web/test-runner-core': patch
---

fix: enable file watcher in manual mode
2 changes: 1 addition & 1 deletion packages/test-runner-core/src/server/TestRunnerServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export class TestRunnerServer {

mimeTypes: config.mimeTypes,

disableFileWatcher: !config.watch,
disableFileWatcher: !config.watch && !config.manual,

middleware: [
watchFilesMiddleware({ runSessions, sessions, rootDir, fileWatcher: this.fileWatcher }),
Expand Down

0 comments on commit cdeafe4

Please sign in to comment.