Why do we have deps folder in an elixir project

Hi, I assume the dependencies specified in our mix . exs file are loaded on mix deps get and they are stored in the deps folder at the root of project. And when mix compile happens, this folder is compiled.
I want to debug something outside the app, so I try to edit the file under one of deps (say postgrex) and did puts and also logger.log but nothing was printed on console.

I also asked similar question on slack yesterday. here is the link Slack

Can someone throw more light on this?

Did you recompile the dependencies manually (mix deps.compile app --force)? Mix won’t do that automatically as files in deps are not expected to be changed.

7 Likes

It worked now… The “–force” flag.

I did mix compile without the flag so nothing was printed.
Now I see more output on console and the reason.

Thanks!

2 Likes