If you though vim was blazingly fast, I got news for you:

You can not run Bun in watch-mode using vim, because Bun will restart quicker than vim is done flushing the buffer to disk...

Reply to this note

Please Login to reply.

Discussion

You need to setup atomic write. Neovim lua:

```lua

vim.opt.writebackup = true

vim.opt.backup = false

vim.opt.backupcopy = 'auto'

```

this is a good idea in general, not just when using bun