[erlang-questions] "Automatic" recompile app from a console
Garrett Smith
g@REDACTED
Fri Feb 1 16:48:05 CET 2013
For dev purposes, I bet that a few millisecond delay in change
detection + recompile is okay. inotify facilities is a bit much IMO
for this application.
The Mochiweb reloader polls for changes to the beam files themselves
and there is a delay, but it's not a problem, unless you're not
*really* human.
On Fri, Feb 1, 2013 at 9:40 AM, John Kemp <john@REDACTED> wrote:
> 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...
>
> Cheers,
>
> John
>
> 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
>>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list