Index: lib/src/executable.dart |
diff --git a/lib/src/executable.dart b/lib/src/executable.dart |
index cb8547eb08fdcb164bca93000e08038fd74ab2c0..4d6003531b0dffbcf63a9c5032860f59306354a1 100644 |
--- a/lib/src/executable.dart |
+++ b/lib/src/executable.dart |
@@ -7,6 +7,7 @@ |
// bin. |
import 'dart:io'; |
+import 'package:async/async.dart'; |
import 'package:path/path.dart' as p; |
import 'package:source_span/source_span.dart'; |
import 'package:stack_trace/stack_trace.dart'; |
@@ -28,7 +29,7 @@ import 'utils.dart'; |
/// terminates the program immediately. |
final _signals = Platform.isWindows |
? ProcessSignal.SIGINT.watch() |
- : mergeStreams([ |
+ : StreamGroup.merge([ |
ProcessSignal.SIGTERM.watch(), |
ProcessSignal.SIGINT.watch() |
]); |