Vulcanur
Vulcanur•4mo ago

FsWatcher.close() error : BadResource

Hi community 🙂 I have an error when i try to close watcher after it throw remove event on directory. Error : error: Uncaught (in promise) BadResource: Bad resource ID this._watcher.close() My goal is to close watcher on specific directory when it is removed. Perhaps Deno closes automaticaly it when path is removed and send me this error ... Can you help me please ? Thank you 😄
3 Replies
marvinh.
marvinh.•4mo ago
That sounds like a bug. Can you file an issue for that?
Vulcanur
Vulcanur•4mo ago
On github issue ? yes of course 🙂 Thanks for you response 😉