OS: Manjaro 21.2.3 Qonos
Kernel: x86_64 Linux 5.15.5-arch1-1-surface
Neovim version
output of nvim --version
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Nvim-tree versionlatest
Describe the bug
When I use a to add file or d to remove file, the file tree updates as expected. However, if I use my shell to run touch newfile, the created newfile won't appear in the tree, even if I re-open the directory by nvim ..
Here's my nvim-tree.lua:
This is expected, the tree does not use watchers on the filesystem. you should use the refresh.
Closing this, i expect to implement watchers at some point but there are not a priority rn.
OS Operation system's name and version
Neovim version output of
nvim --version
Nvim-tree version
latest
Describe the bug When I use
a
to add file ord
to remove file, the file tree updates as expected. However, if I use my shell to runtouch newfile
, the created newfile won't appear in the tree, even if I re-open the directory bynvim .
. Here's mynvim-tree.lua
:To Reproduce
nvim .
touch newfile.js
newfile.js
won't appear in treenvim
nvim .
newfile.js
still won't appear in treels
in terminal to confirm thatnewfile.js
lies exactly in cwd...Expected behavior
newfile.js
should appear at least after restartingnvim
.