Skip to content

Commit

Permalink
Fix typo in watch doctstring (#280)
Browse files Browse the repository at this point in the history
Co-authored-by: Quentin Ågren <[email protected]>
  • Loading branch information
kwentine and kwentine authored Jun 3, 2024
1 parent 94b6780 commit 8523610
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions watchfiles/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ def watch(
#### Force polling
Notify will fall back to file polling if it can't use file system notifications, but we also force notify
to us polling if the `force_polling` argument is `True`; if `force_polling` is unset (or `None`), we enable
Notify will fall back to file polling if it can't use file system notifications, but we also force Notify
to use polling if the `force_polling` argument is `True`; if `force_polling` is unset (or `None`), we enable
force polling thus:
* if the `WATCHFILES_FORCE_POLLING` environment variable exists and is not empty:
* if the value is `false`, `disable` or `disabled`, force polling is disabled
* otherwise, force polling is enabled
* if the value is `false`, `disable` or `disabled`, force polling is disabled
* otherwise, force polling is enabled
* otherwise, we enable force polling only if we detect we're running on WSL (Windows Subsystem for Linux)
Args:
Expand Down

0 comments on commit 8523610

Please sign in to comment.