VulcanurV
Denoβ€’2y agoβ€’
3 replies
Vulcanur

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 πŸ˜„
Was this page helpful?