Skip to content

Automatically recompile a mix project on file changes when running in interactive mode with IEx

License

Notifications You must be signed in to change notification settings

trestini/livedev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livedev

Automatically recompile a mix project on file changes when running in interactive mode with IEx.

Pre requisites

Livedev uses Watchman as a backbone for file watching service. A running Watchman deamon is required in order to use Livedev.

Watchman install on MacOS via Homebrew

brew update
brew install watchman

Watchman binary downloads for Linux, Windows and MacOS without homebrew

  1. Go to recent CI builds
  2. Click on the last CI build
  3. Choose your platform on the left sidebar
  4. Download the binary on "Artifacts" dropdown on the top right

Please refer to instalation for detailed instructions.

Installation

The package can be installed by adding livedev to your list of dependencies in mix.exs:

def deps do
  [
    {:livedev, github: "trestini/livedev", only: :dev}
  ]
end

Note: The updated hex package will only be provided after initial alpha stage (version 0.1.0+)

Usage

Start the Mix project in IEx with:

iex -S mix

Start Livedev watching with:

Livedev.start

About

Automatically recompile a mix project on file changes when running in interactive mode with IEx

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages