Skip to content

Commit

Permalink
feat(runner): more flexible watch mode (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
PaperStrike authored Oct 24, 2023
1 parent 288c8e5 commit 6bea50b
Show file tree
Hide file tree
Showing 9 changed files with 430 additions and 70 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,9 @@ wrightplay -w
wrightplay --watch
```

Watch the setup and test files for changes and automatically rerun the tests. Defaults to `false`.
Monitor test file changes and trigger automatic test reruns. Defaults to `false`.

Please be aware that on certain platforms, particularly in the context of large-scale projects, this feature might silently fail or raise some errors.

### browser

Expand Down
51 changes: 41 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"commander": "^11.1.0",
"esbuild": "~0.19.5",
"get-port": "^7.0.0",
"glob-parent": "^6.0.2",
"globby": "^13.2.2",
"jiti": "^1.20.0",
"lilconfig": "^2.1.0",
Expand All @@ -78,7 +79,9 @@
"ws": "^8.14.2"
},
"devDependencies": {
"@types/glob-parent": "^5.1.2",
"@types/mocha": "^10.0.3",
"@types/node": "^20.8.8",
"@types/tape": "^5.6.3",
"@types/ws": "^8.5.8",
"@typescript-eslint/eslint-plugin": "^6.8.0",
Expand Down
Loading

0 comments on commit 6bea50b

Please sign in to comment.