2 people reported

All time, since Aug 5.

fs.watch drops second rename event

“The node:fs watcher in test.ts should log two "rename" events one for foo.bar disappearing and another for fuu.baz being added.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/bun/issues/4822/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

fs.watch emits only one 'rename' event where Node emits two. Second rename event is dropped when an entry is removed and recreated, or when a file is renamed with mv.

Is this your bug?

File my report
Where
node:fs watch
Versions
1.3.14 to 1.4.3-canary.1
Platforms
Linux, macOS
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. fs.watch reports one 'rename' when an entry is removed and created again (Node reports two)#44005
  2. node:fs's watch only fires single "rename" event on file rename (MacOS)#36957

Do you work on Bun?

Claim its RAP Sheet to see what your users report and answer them in one place.