exsync alternatives and similar packages
Based on the "Miscellaneous" category.
Alternatively, view exsync alternatives based on common mentions on social networks and blogs.
-
AtomVM
AtomVM allows to run Elixir/Erlang code on embedded devices such as ESP32 and STM32 microcontrollers. -
porcelain
Porcelain implements a saner approach to launching and communicating with external OS processes from Elixir. -
Countries
Countries is a collection of all sorts of useful information for every country in the ISO 3166 standard. -
ecto_autoslug_field
Automatically creates slugs for your Ecto models. -
std_json_io
Application for managing and communicating with IO servers via JSON. -
molasses
A feature toggle library using redis or SQL (using Ecto) as a backing service. -
exprint
A printf / sprintf library for Elixir, works as a wrapper for :io.format. -
gen_task
Generic Task behavior that helps to encapsulate worker errors and recover from them in classic GenStage's. -
countriex
A pure elixir country data provider containing various information for every country in ISO 3166. -
erlang_term
Provide the in-memory size of Erlang terms, ignoring where these are stored. -
address_us
Library for parsing US Addresses into their individual parts. -
expyplot
Elixir interface for Plotting/Graphing library using matplotlib.pyplot. -
Jisho-Elixir
An API wrapper for Jisho.org, an online Japanese dictionary. Allows users to search by word, symbol, and or tags (refer to docs).
Scout APM - Leading-edge performance monitoring starting at $39/month
Do you think we are missing an alternative of exsync or a related project?
Popular Comparisons
README
ExSync
Yet another Elixir reloader.
System Support
ExSync deps on FileSystem
Usage
- Create a new application:
mix new my_app
- Add exsync to your
mix.exs
dependencies:
def deps do
[
{:exsync, "~> 0.2", only: :dev},
]
end
Optionally add this snippet to your .iex.exs
(in the root of your project) or your ~/.iex.exs
:
if Code.ensure_loaded?(ExSync) && function_exported?(ExSync, :register_group_leader, 0) do
ExSync.register_group_leader()
end
This will prevent the ExSync logs from overwriting your IEx prompt.
Alternatively you can always just run ExSync.register_group_leader()
in your
IEx prompt.
Usage for umbrella project
- Create an umbrella project
mix new my_umbrella_app --umbrella
- Add exsync to your
mix.exs
dependencies:
def deps do
[
{:exsync, "~> 0.2", only: :dev},
]
end
- start your umbrella project with
exsync
task
iex -S mix exsync
Config
All configuration for this library is handled via the application environment.
:addition_dirs
- Additional directories to monitor
For example, to monitor the priv
directory, add this to your config.exs
:
config :exsync, addition_dirs: ["/priv"]
:extensions
- List of file extensions to watch for changes. Defaults to: [".erl", ".hrl", ".ex", ".eex"]
:extra_extensions
- List of additional extensions to watch for changes (cannot be used with :extensions
)
For example, to watch .js
and .css
files add this to your config.exs
:
config :exsync, extra_extensions: [".js", ".css"]
:logging_enabled
- Set to false to disable logging (default true)
:reload_callback
- A callback MFA that is called when a set of files are done reloading. Can be used to implement your own special handling to react to file reloads.
:reload_timeout
- Amount of time to wait in milliseconds before triggering the :reload_callback
. Defaults to 150ms.
For example, to call MyApp.MyModule.handle_reload()
add this to your config.exs
:
config :exsync,
reload_timeout: 75,
reload_callback: {MyApp.MyModule, :handle_reload, []}