Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Changing dependencies on runtime in phoenix

I was creating a web-app in phoenix, It creates a folder of dependencies called deps, I wanted to know If I can change code of one of the dependencies and see How it affects. I tried to do it, but it doesn't executes my injected code.

like image 819
Saurabh Avatar asked Jan 25 '26 13:01

Saurabh


1 Answers

Did you recompile the dependencies?

From the command line of your directory, after you make the change, issue the command

mix deps.compile

This should cause your code changes to be included.

like image 132
Scott Thompson Avatar answered Jan 27 '26 07:01

Scott Thompson