Open itsramiel opened 8 months ago
Attempted replication with this 900MB setup:
git clone git@github.com:facebook/create-react-app.git
cd create-react-app
yarn
I
and E
on node_modules. No performance issue at any step. However, I am running on linux with btrfs.
This macos user had a similar issue, the root cause being the filesystem watchers. Resolution: https://github.com/nvim-tree/nvim-tree.lua/issues/2438#issuecomment-1864299051
filesystem_watchers = {
ignore_dirs = {
"node_modules"
},
},
Which filesystem are you using? Is it case sensitive? Are you using full disk encryption?
This macos user had a similar issue, the root cause being the filesystem watchers. Resolution: #2438 (comment)
filesystem_watchers = { ignore_dirs = { "node_modules" }, },
This solved it for me
Which filesystem are you using? Is it case sensitive? Are you using full disk encryption?
I dont really know the answer to these questions. I am happy to find out if you can let me know how.
Feel free to close the issue or keep it open if you want to dig deeper and I can help if you need me to check something
I dont really know the answer to these questions. I am happy to find out if you can let me know how.
Just encryption would be great.
Feel free to close the issue or keep it open if you want to dig deeper and I can help if you need me to check something
It would be great if you could collect a log, indicating the time you quit.
log = {
enable = true,
truncate = true,
types = {
all = false,
config = false,
copy_paste = false,
dev = false,
diagnostics = false,
git = false,
profile = true,
watcher = true,
},
},
I'm not certain there's much we can do about this; node modules is problematic for many tools and is ignored by default: #3649
It might be time to add that, given the number of issues this has caused.
Description
When I toggle a git ignore folders and javascript's
node_modules
is visible it takes an unusual longer time to quit neovim. I dont mean it only happens withnode_modules
but tht is my use case. Check the video where I have only nvim-tree as a dependency and I quit neovim when git ignore folders are hidden vs when they are visible.https://github.com/nvim-tree/nvim-tree.lua/assets/80689446/21ed717f-1b9b-4415-b85c-d9d5d8b31d4d
One weird thing is that if I delete the
.gitignore
file and thenode_modules
is visible from the start then it quits just as fast as usual. It is only when I toggle the git ignore files from hidden to visiblehttps://github.com/nvim-tree/nvim-tree.lua/assets/80689446/5511dec7-511a-499b-aac3-c45370f8fbae
I dont really have any idea why, but let me know if I can help in any way
Neovim version
Operating system and version
Macos 14.3.1
Windows variant
No response
nvim-tree version
commit: 707b24af91a1d05823099ed8c5450796290466ba
Clean room replication