Index: runtime/bin/file_patch.dart |
diff --git a/runtime/bin/file_patch.dart b/runtime/bin/file_patch.dart |
index 2fe1414fa9950d6a9d07034b5ae8b8f546ae9bfc..5e4b16a0319ae568afd8ef599b93b46f2c09751e 100644 |
--- a/runtime/bin/file_patch.dart |
+++ b/runtime/bin/file_patch.dart |
@@ -77,14 +77,14 @@ class _WatcherPath { |
@patch static Stream<FileSystemEvent> _watch( |
String path, int events, bool recursive) { |
if (Platform.isLinux) { |
- return new _InotifyFileSystemWatcher(path, events, recursive).stream; |
+ return new _InotifyFileSystemWatcher(path, events, recursive)._stream; |
} |
if (Platform.isWindows) { |
- return new _Win32FileSystemWatcher(path, events, recursive).stream; |
+ return new _Win32FileSystemWatcher(path, events, recursive)._stream; |
} |
if (Platform.isMacOS) { |
return new _FSEventStreamFileSystemWatcher( |
- path, events, recursive).stream; |
+ path, events, recursive)._stream; |
} |
throw new FileSystemException( |
"File system watching is not supported on this platform"); |
@@ -100,7 +100,7 @@ class _WatcherPath { |
onCancel: _cancel); |
} |
- Stream get stream => _broadcastController.stream; |
+ Stream get _stream => _broadcastController.stream; |
Kevin Millikin (Google)
2017/01/04 15:31:04
Patch files can't introduce new public members, so
|
void _listen() { |
if (_id == null) { |