[erlang-questions] Run in development

Roger Lipscombe roger@REDACTED
Sat Mar 26 20:36:52 CET 2016


On 26 March 2016 at 18:08, Roberto Ostinelli
<roberto.ostinelli@REDACTED> wrote:
> When I want to start a node with my code while I develop I use [snip]

Ours is pretty similar:

erl -pa apps/*/ebin -pa deps/*/ebin -sname foo -config dev -s foo -s bar -s baz

...assuming that we want to run foo, bar and baz top-level
applications in a single node (which we do in dev). Then we have
(more-or-less):

    -module(foo).
    -export([start/0]).
    start() ->
        {ok, _} = application:ensure_all_started(foo).

Where useful, we'll use (e.g.) https://github.com/rustyio/sync and add "-s sync"



More information about the erlang-questions mailing list