mix run [file]
Starts the current application and runs code
Arguments
Options
Name | Description |
---|
--config <file> | Loads the given configuration files |
-e, --eval <code> | Evaluates the given code |
-r, --require <file|pattern> | Executes the given pattern/file |
-p, --parallel <file|pattern> | Executes the given pattern/file |
--preload-modules | Preloads all modules defined in applications |
--no-compile | Does not compile even if files require compilation |
--no-deps-check | Does not check dependencies |
--no-archives-check | Does not check archives |
--no-halt | Does not halt the system after running the command |
--no-mix-exs | Allows the command to run even if there is no mix.exs |
--no-start | Does not start applications after compilation |
--no-elixir-version-check | Does not check the Elixir version from mix.exs |