Running mix prints out some random terminal stdo

I’m facing a weird scenario -
A specific elixir project (it doesn’t happen for other elixir projects) has the following behaviour -
When I save a buffer (I use NeoVim BTW), it appends some terminal output to the beginning of the buffer.

After some investigation, I see that the reason it happens is cause of mix formatting.

Then I checked in the terminal, and any mix command I run in this folder prints out that.

Not sure why, I looked at my mix.exs file, everything seems fine, not sure what’s up.

Would love to get any hint, it’s driving me crazy :slight_smile:

OMG, finally, after so long, I’ve found the issue, -
in my dev.exs file, I had a puts.
So every mix command printed out fine.
The reason I had it append the strings is that mix is formatting my buffers, so everytime it ran, it printed out the output of dev.exs :man_facepalming:

1 Like