Skip to content

Commit cb14a4f

Browse files
committed
chore: add changelog for #2048
1 parent 0d5f2b5 commit cb14a4f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22

33
## Unreleased
44

5+
- Significant improvements were made to the watcher. We migrated from
6+
[watcher](https://github.com/radovskyb/watcher) to
7+
[fsnotify](https://github.com/fsnotify/fsnotify). The former library used
8+
polling, which means Task had a high CPU usage when watching too many files.
9+
`fsnotify` uses proper the APIs from each operating system to watch files,
10+
which means a much better performance. The default interval changed from 5
11+
seconds to 100 milliseconds, because now it configures the wait time for
12+
duplicated events, instead of the polling time (#2048 by @andreynering, #1508,
13+
#985, #1179).
514
- The default taskfile (output when using the `--init` flag) is now an embedded
615
file in the binary instead of being stored in the code (#2112 by @pd93).
716
- Fixed a bug where sorting tasks by "none" would use the default sorting

0 commit comments

Comments
 (0)