Files
neovim/runtime/lua/vim
Oleksandr Chekhovskyi d9d8c660fd fix(watch): invalid joined path #37973
Problem:
When vim._watch.watch() is used to watch a single file, libuv returns
the basename as the filename argument in the callback. The code joins
this with the watched path, producing a nonsensical path like
"/path/to/file.lua/file.lua", which causes ENOTDIR errors on
subsequent fs_stat calls.

Solution:
Check whether the watched path is a directory before joining the
filename. When watching a file, ignore the filename from libuv and
use the watched path directly.
2026-02-23 17:33:13 -05:00
..
2026-01-10 17:47:16 +02:00
2025-08-17 11:54:53 +08:00
2025-06-06 15:36:48 +01:00
2026-02-12 13:46:53 +01:00
2026-01-09 10:07:15 +01:00
2026-01-27 09:18:02 -05:00
2025-09-16 11:41:36 +08:00
2025-11-22 19:32:45 -05:00