Warnings for excluded files
matthewtusker opened this issue · comments
Matthew Simpson commented
I have excluded node_modules
from being picked up, but for some reason I still see a warning. For example, when I run solargraph list
I don't see any file from node_modules
, but I do see this before the files are listed:
[WARN] Error reading ./node_modules/bourbon/bundle/ruby/3.0.0/gems/builder-3.2.4/builder.gemspec
[WARN] <internal:/Users/snip/.local/share/mise/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- ./lib/builder/version (LoadError)
from <internal:/Users/snip/.local/share/mise/installs/ruby/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from ./node_modules/bourbon/bundle/ruby/3.0.0/gems/builder-3.2.4/builder.gemspec:2:in `<main>'
from -e:1:in `eval'
from -e:1:in `<main>'
I think this is slowing down Solargraph startup, which I've been trying to improve (it has always taken a while to start up in NeoVim).