Skip to content

Commit e31ea2e

Browse files
Update README.md
1 parent d27bb71 commit e31ea2e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,11 @@ This can easily be done in VS Code with the following launch profile:
104104
},
105105
```
106106

107-
The only reason you would need to limit the watched files is because the jurigged library
108-
opens every file it watches, so it can exhaust the open file limit if you have a lot of files.
107+
The daemon can be configured to use either watchman or polling to detect file changes.
108+
In my experience, watchman, running on docker on your system, frequently stops detecting changes without warning.
109+
The default behavior is to use polling, which is slower and has higher CPU usage, but is more likely to work.
110+
You can improve the behavior by limiting what files are watched via the watch globs. When using watchman,
111+
a file is opened for every file watched, so you will exhaust your open file limit if you watch too many.
109112

110113
If the daemon is already running and you run pytest with `--daemon`, then the old one will be stopped
111114
and a new one will be started. Note that `pytest --daemon` is NOT how you run tests. It is only used to start

0 commit comments

Comments
 (0)