rustyio / sync

On-the-fly recompiling and reloading in Erlang. Code without friction.
MIT License
749 stars 163 forks source link

custom source and destanation directories support. Recompile files even if they were changed while sync is stopped #50

Closed Lol4t0 closed 9 years ago

Lol4t0 commented 9 years ago
  1. This will let user to specify directories to sync. Even if there were no modules on sync start loaded, that point to that directories, directories will be tracked and files will be compiled. If modules from directories compile to nonstandard destination path, those path will be added to erlang code path list.

    This feature let use sync as a plugins host. So sync tracks plugins folder and loads everything from that folder as user add new files there.

    See readme for usage description.

  2. Recompile beams on sync start even they were changed while sync was turned off.
choptastic commented 9 years ago

Thanks, this looks pretty great! I'll get this tested and merged soon.