Presume I am creating a new application with these commands:
mix new my_app
cd my_app
I then use the editor of my choice to put some functions into lib/my_app.ex
If I want to test those functions in iex, am I best off doing this:
iex -S mix
or
cd lib
iex
If I do the former, then when I make changes to the source file, I have to
do this in iex:
c("lib/my_app.ex")
whereas the second version needs only
c("my_app.ex")
Both of these seem to work equally well. Which is the correct or preferred
way, if either? Or is there a "best practices" method that I am totally
missing here?
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-talk/2efa495f-d3d0-44f0-9cf1-e029d8e2be94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.