fs: do not crash if the watched file is removed while setting up watch · nodejs/node@568377f · GitHub
Skip to content

Commit 568377f

Browse files
mcollinatargos
authored andcommitted
fs: do not crash if the watched file is removed while setting up watch
Signed-off-by: Matteo Collina <hello@matteocollina.com> PR-URL: #53452 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io>
1 parent 9f32002 commit 568377f

2 files changed

Lines changed: 45 additions & 5 deletions

File tree

lib/internal/fs/recursive_watch.js

Lines changed: 12 additions & 5 deletions
Lines changed: 33 additions & 0 deletions

0 commit comments

Comments
 (0)