ExSync
Yet another Elixir reloader.
System Support
ExSync deps on ExFSwatch and ExFSWatch deps on fs
So just like fs
- Mac fsevent
- Linux inotify
- Windows inotify-win (untested)
NOTE: On Linux you need to install inotify-tools.
Usage
Create a new application:
mix new my_appAdd exsync to your
mix.exsdependencies:def deps do[ {:exsync, "~> 0.1", only: :dev} ]endStart your application the usual way, e.g.,
iex -S mix, then:ExSync.start()
Usage for umbrella project
Create an umbrella project
mix new my_umbrella_app --umbrellaAdd exsync to your
mix.exsdependencies:def deps do[ {:exsync, "~> 0.1", only: :dev} ]endstart your umbrella project with
exsynctaskiex -S mix exsync