coc-elixir
coc-elixir copied to clipboard
Duplicated Erlang binaries resulting in `:badfile` error
I'm unsure why, but whenever I use this particular plugin with Elixir, I always end up with several issues:
- it continues to create a
.elixir_lsdirectory in my project even though"elixirLS.dialyzerEnabled": falseis set in mycoc-settings. According to the README this is only needed for Dialyzer - when I start my Phoenix application or start the tests, I sometimes encounter duplicated binaries as if multiple versions of the project had been built and suffixed, which obviously confuses the runtime -- take notice to the
2suffix right before the.beamfile extension
13:32:55.608 [error] Loading of ~/foo/_build/dev/lib/thinger_majigger/ebin/Elixir.Foo.LiveHelpers 2.beam failed: :badfile
I currently just $ rm -rf _build/dev and rebuild from scratch which kinda sucks since the project must be rebuilt again
If anyone has encountered a way to address/fix this, I'd love to know. Thanks