dart-lang / watcher

A file system watcher library for Dart.
https://pub.dev/packages/watcher
BSD 3-Clause "New" or "Revised" License
138 stars 35 forks source link

When the monitored folder is deleted, the app crashes directly #128

Open Eee721 opened 2 years ago

Eee721 commented 2 years ago

hi, When the monitored folder is deleted, the app crashes directly! image

my environment: Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel beta, 3.4.0-34.1.pre, on Microsoft Windows [版本 10.0.19044.2130], locale zh-CN) [X] Windows Version (Unable to confirm if installed Windows version is 10 or greater) [!] Android toolchain - develop for Android devices (Android SDK version 30.0.2) X cmdline-tools component is missing Run path/to/sdkmanager --install "cmdline-tools;latest" See https://developer.android.com/studio/command-line for more details. X Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/windows#android-setup for more details. [√] Chrome - develop for the web [√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.8.2) [√] Android Studio (version 4.0) [√] IntelliJ IDEA Community Edition (version 2020.3) [√] Connected device (3 available) [√] HTTP Host Availability

https://user-images.githubusercontent.com/25765456/200233968-1e2e58e1-fe2f-45c3-8ebc-7ce41d91d546.mp4