File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -201,9 +201,7 @@ class _Watcher {
201
201
/// Otherwise, if a file is erased and then rewritten, we can end up reading
202
202
/// the intermediate erased version.
203
203
Stream <WatchEvent > _debounceEvents (Stream <WatchEvent > events) {
204
- return events
205
- .transform (debounceBuffer (Duration (milliseconds: 25 )))
206
- .expand ((buffer) {
204
+ return events.debounceBuffer (Duration (milliseconds: 25 )).expand ((buffer) {
207
205
var typeForPath = p.PathMap <ChangeType >();
208
206
for (var event in buffer) {
209
207
var oldType = typeForPath[event.path];
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ executables:
9
9
sass : sass
10
10
11
11
environment :
12
- sdk : ' >=2.4 .0 <3.0.0'
12
+ sdk : ' >=2.6 .0 <3.0.0'
13
13
14
14
dependencies :
15
15
args : " >=1.4.0 <2.0.0"
@@ -23,7 +23,7 @@ dependencies:
23
23
source_maps : " ^0.10.5"
24
24
source_span : " ^1.4.0"
25
25
stack_trace : " >=0.9.0 <2.0.0"
26
- stream_transform : " ^0.0.1 "
26
+ stream_transform : " ^0.0.20 "
27
27
string_scanner : " >=0.1.5 <2.0.0"
28
28
term_glyph : " ^1.0.0"
29
29
tuple : " ^1.0.0"
You can’t perform that action at this time.
0 commit comments