[erlang-questions] "Automatic" recompile app from a console

John Kemp john@REDACTED
Fri Feb 1 16:40:25 CET 2013

This does not seem to work on a Mac FWIW since there is no equivalent of the inotify tools on OS X, for similar reasons to Damian's suggestion. Otherwise (on Linux), it looks promising...



On Jan 31, 2013, at 10:16 PM, Slava Yurin wrote:

> Hi John.
> Maybe  https://github.com/tex/ssync can help you.
> 01.02.2013, 04:09, "John Kemp" <john@REDACTED>:
> Hi,
> I have been writing an application using rebar to build the app. I run 
> the server and open a console. I then change the source code and 
> apparently I need to leave the console, 'make rel' and restart the app 
> and the console.
> I'm sure there's a better way to do what I'm doing.
> One project I found is https://github.com/rustyio/sync, but this did not 
> (yet) work for me according to the instructions.
> How can I have my rebar (or just Erlang) app automatically recompile 
> ('make rel') when one of the source files changes, or run a command from 
> within the console to do this?
> Cheers,
> JohnK
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions

More information about the erlang-questions mailing list