remix

by AgilionApps

AgilionApps / remix

Automatic recompilation of mix code on file change.

129 Stars 23 Forks Last release: Not found Other 19 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Remix

Recompiles mix project on any lib file change/addition.

Intended for development use only.

Installation

Add remix to deps:

defp deps do
  [{:remix, "~> 0.0.1", only: :dev}]
end

Add add

:remix
as a development only OTP app.
def application do
  [applications: applications(Mix.env)]
end

defp applications(:dev), do: applications(:all) ++ [:remix] defp applications(_all), do: [:logger]

with escript compilation (in config.exs) and silent mode (won't output to iex each time it compiles):

elixir
config :remix,
  escript: true,
  silent: true
If these vars are not set, it will default to verbose (silent: false) and no escript compilation (escript: false).

Usage

Save or create a new file in the lib directory. Thats it!

About

Co-authored by the Agilion team during a Brown Bag Beers learning session as an exploration into Elixir, OTP, and recursion.

License

Remix source code is released under the Apache 2 License. Check LICENSE file for more information.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.