Skip to content

Commit 9f1aa84

Browse files
committed
Add a note on remote compilation, closes #13528
1 parent fb3db59 commit 9f1aa84

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

lib/iex/lib/iex/helpers.ex

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,19 @@ defmodule IEx.Helpers do
174174
175175
It expects a list of files to compile and an optional path to write
176176
the compiled code to. By default files are in-memory compiled.
177-
To write compiled files to the current directory, an empty string
178-
can be given.
177+
To write compiled files to the current directory, `"."` can be given.
179178
180179
It returns the names of the compiled modules.
181180
182181
If you want to recompile an existing module, check `r/1` instead.
183182
183+
> #### Remote compilation {: .warning}
184+
>
185+
> When compiling code, warnings and errors may be printed to standard error.
186+
> However, when connecting to a remote node, the standard error output is not
187+
> redirected to the client. This means that compilation failures will be written
188+
> to the logs or the output terminal of the machine you connect to.
189+
184190
## Examples
185191
186192
In the example below, we pass a directory to where the `c/2` function will

0 commit comments

Comments
 (0)