[erlang-questions] using sync with cowboy/erlang.mk

Loïc Hoguin essen@REDACTED
Sun Jun 28 21:10:33 CEST 2015


{dev_mode, true}.

To your relx.config.

And see the 2 applications needed for the release: 

Not sure why sync doesn't just depend on them, but that should do it.

On 06/28/2015 09:05 PM, Ben Hsu wrote:
> Hello
> I am trying to add sync  ( https://github.com/rustyio/sync ) to my
> simple hello-world cowboy app, which is made using erlang.mk
> <http://erlang.mk>
> whenever I save an updated erlang file my application crashes instead of
> reloading the file. The error message says 'module could not be loaded'
> I know erlang.mk <http://erlang.mk> adds directories to my compiletime
> and runtime path, do these need to be specified to sync?
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

Loïc Hoguin
Author of The Erlanger Playbook,
A book about software development using Erlang

More information about the erlang-questions mailing list