-
Notifications
You must be signed in to change notification settings - Fork 832
Add example of using iex -S mix compile #1133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Add example of using iex -S mix compile
I don't think the |
Usually true but as I recently discovered if the default mix task is replaced may not be the case.
… On Jun 25, 2018, at 23:26, Michał Muskała ***@***.***> wrote:
I don't think the compile part is necessary - iex -S mix should automatically compile.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Btw, we talk about this on the supervisor chapter: https://elixir-lang.org/getting-started/mix-otp/supervisor-and-application.html (search for |
Updated based on Jose's correction
Thanks see the references there very helpful. |
Updated reference to more detailed documentation based jose's comments.
@@ -55,6 +55,8 @@ It seems we are ready to go! We will use the interactive shell quite a lot in th | |||
|
|||
> Note: if you are on Windows, you can also try `iex.bat --werl` which may provide a better experience depending on which console you are using. | |||
|
|||
> Note: if you want to run `iex` with the project and dependent modules automatically loaded in interactive mode run `iex -S mix run`. See [Supervisor and application](/getting-started/mix-otp/supervisor-and-application.html) for more details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am afraid this will be confusing for developers getting started because at this point they have no idea what mix
is. Should they run this command? Does it matter? What are "dependent modules"? What is interactive mode? Remember this is the first chapter of the getting started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay makes sense. I'll move this to the next section that talks about IEX
Removed comment as suggested by Jose
Updated version, please let me know if this is a better introduction and flows better
❤️ 💚 💙 💛 💜 |
Add example of using iex -S mix compile