|
@@ -4,8 +4,7 @@ ACTIVE: Continuous Compilation - https://github.com/synrc/active v1.9 fork (upd
|
|
|
Active is a [sync](https://github.com/rustyio/sync) replacement
|
|
|
that uses native file-system OS async listeners to compile and
|
|
|
reload Erlang files, DTL templates and other files. It acts as
|
|
|
-FS subscriber under supervision and uses
|
|
|
-[mad](https://github.com/synrc/mad) under the hood.
|
|
|
+FS subscriber under supervision and uses Emakefile.
|
|
|
|
|
|
Listen Folders
|
|
|
--------------
|
|
@@ -31,9 +30,14 @@ otp(_) -> ok.
|
|
|
Usage
|
|
|
-----
|
|
|
|
|
|
-On Mac/Linux/Windows just include into your rebar.config:
|
|
|
+On Mac/Linux/Windows just put this app into your apps|deps dir;
|
|
|
+add next code into your sys.config
|
|
|
+for compiling erlydtl templates in apps/yor_app/priv/templates/
|
|
|
|
|
|
- {active, ".*", {git, "git://github.com/synrc/active", {tag,"0.5"}}}
|
|
|
+```
|
|
|
+{active,
|
|
|
+ [{compile_on_templates, true}]}
|
|
|
+```
|
|
|
|
|
|
NOTE: on Linux please install inotify-tools.
|
|
|
|