Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileSystemException: Exists failed #63

Open
scheglov opened this issue Sep 5, 2018 · 0 comments
Open

FileSystemException: Exists failed #63

scheglov opened this issue Sep 5, 2018 · 0 comments

Comments

@scheglov
Copy link
Contributor

scheglov commented Sep 5, 2018

See dart-lang/sdk#34108

Is it expected that watcher throws exceptions when directory does not exist, is not accessible, etc?

Analysis Server "handles" errors on the events stream, are all errors / exception delivered there, or is there other way to get there problems from watcher?

  Stream<WatchEvent> get changes =>
      new DirectoryWatcher(_entry.path).events.handleError((error) {},
          test: (error) => error is io.FileSystemException);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant