Skip to content

Any git directory will report [NvimTree] Could not start the fs_event watcher for path C:\test_project\.git : ENOENT #2467

@mj2068

Description

@mj2068

Description

After a few months without updating any plugins, today i did a :PackerUpdate, opened a random git directory, got this warning:
[NvimTree] Could not start the fs_event watcher for path C:\test_project\.git : ENOENT
After some reading, and comparing the logs with a no-issue ubuntu with mostly the same config. i think there is a newline/return issue there.
I don't think i'm skillful enough to dig deeper, I hope the info i provided here is useful, Thanks.

Neovim version

NVIM v0.9.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Operating system and version

Windows 10

nvim-tree version

4054fc4

Clean room replication

unmodified

Steps to reproduce

  1. nvim -nu /tmp/nvt-min.lua C:/any_dir_has_a_.git
  2. :NvimTreeOpen
  3. console pop up, issue arise:
    [NvimTree]
    Could not start the fs_event watcher for path C:\test_project.git
    : ENOENT

Expected behavior

No response

Actual behavior

nvim-tree.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS Windows PowerShellspecific to windows powershellbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions