diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/node/polyfills/_fs/_fs_watch.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/_fs/_fs_watch.ts b/ext/node/polyfills/_fs/_fs_watch.ts index 78903cd55..e94818da9 100644 --- a/ext/node/polyfills/_fs/_fs_watch.ts +++ b/ext/node/polyfills/_fs/_fs_watch.ts @@ -211,7 +211,7 @@ export function watchFile( statWatchers.set(watchPath, stat); } - stat.addListener("change", listener!); + stat.addListener("change", handler); return stat; } |