[erlang-questions] erlang autobuild

Dmitry Bushmelev dmitrii.bushmelev@REDACTED
Mon Apr 14 06:48:44 CEST 2014


Hi, look at https://github.com/rustyio/sync.

On 14 Apr 2014, at 08:02, t x <txrev319@REDACTED> wrote:

> Hi,
> 
>  In clojurescript, I can do something like:
> 
>  "lein autobuild"
> 
>  which basically means, any time src/**/*.cljs changes, recompile everything.
> 
> 
> 
>  Is there a similar way to do something like the above in erlang ?
> 
>  I would like to do :
> 
>  "erlang-magic autobuild"
> 
>  so that any time I save a file in src/*.erl, it does:
> 
>  "make" (since I'm running erlang.mk)
>  _rel/bin/release/my_app stop
>  _rel/bin/release/my_app start
> 
> ?
> 
> Thanks!
> 
> 
> Basically, I want a "file save" in Emacs to trigger:
>  * recompile
>  * kill old app
>  * start new app
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140414/d19ac880/attachment.htm>


More information about the erlang-questions mailing list