Skip to content

Commit

Permalink
Tests: Explicitly ignore directories for performance
Browse files Browse the repository at this point in the history
These should be implicitly ignored because of the `ignoreDotFiles`, `ignoreVCS`, and `ignoreVCSIgnored` settings, but some of them weren't for some reason. That was causing a noticable delay between when a file was saved and when the tests relaunched.
  • Loading branch information
iandunn committed Oct 13, 2022
1 parent be268ba commit 062c92f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpunit-watcher.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ watch:
directories:
- ./
exclude:
- .github
- assets
- dist
- node_modules
- vendor
- wordpress
fileMask: '*.php'
ignoreDotFiles: true
ignoreVCS: true
Expand Down

0 comments on commit 062c92f

Please sign in to comment.