Closed m-2k closed 5 years ago
$ mad rep
Configuration: [{n2o,[{port,8000},
{app,review},
{upload,"./apps/review/priv/static/"},
{search,"/Users/5HT/depot/synrc/synrc.com/apps/*/doc/web/*.htm"},
{mode,dev},
{route,routes},
{mq,n2o_syn},
{formatter,bert},
{minify,{"apps/review/priv/static",
["deps/n2o/priv/bullet.js",
"deps/n2o/priv/n2o.js","deps/n2o/priv/ftp.js",
"deps/n2o/priv/protocols/bert.js",
"deps/n2o/priv/protocols/nitrogen.js",
"deps/n2o/priv/utf8.js",
"deps/n2o/priv/validation.js"]}},
{log_modules,config},
{log_level,config},
{log_backend,n2o_log},
{session,n2o_session},
{origin,<<"*">>},
{bridge,n2o_cowboy},
{pickler,n2o_pickle},
{erroring,n2o_error},
{event,pickle}]},
{kvs,[{dba,store_mnesia},
{schema,[kvs_user,kvs_acl,kvs_feed,kvs_subscription]}]}]
Applications: [kernel,stdlib,fs,ranch,crypto,compiler,syntax_tools,inets,
mnesia,kvs,syn,cowlib,cowboy,n2o,review,active,erlydtl,mad,
nitro,rest,sh]
Erlang/OTP 19 [erts-8.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Eshell V8.1 (abort with ^G)
1>
=INFO REPORT==== 13-Nov-2016::16:59:53 ===
Copy of syn_registry_table is already added to current node
=INFO REPORT==== 13-Nov-2016::16:59:53 ===
Copy of syn_groups_table is already added to current node
=INFO REPORT==== 13-Nov-2016::16:59:54 ===
n2o_async:Async Start Attempt {handler,"timer",n2o,system,n2o,[],[]}
Nonexistent: []
==> "samples"
==> "/Users/maxim/depot/synrc/n2o/samples"
==> "syn"
==> "rest"
==> "erlydtl"
==> "nitro"
==> "mad"
==> "sh"
==> "fs"
==> "active"
==> "n2o"
==> "cowboy"
==> "cowlib"
==> "ranch"
==> "kvs"
==> "/Users/maxim/depot/synrc/n2o/samples/apps"
==> "/Users/maxim/depot/synrc/n2o/samples/apps/review"
1>
1>
I see no recompilations. Binary in priv:
$ ls -l apps/review/priv/
total 40
-rwxr-xr-x 1 maxim staff 18064 Nov 5 02:14 mac_listener
drwxr-xr-x 4 maxim staff 136 Oct 12 02:19 snippets
drwxr-xr-x 6 maxim staff 204 Oct 12 02:19 static
drwxr-xr-x 6 maxim staff 204 Oct 12 02:19 templates
у меня компилируется бинарь из c_src, кладется в priv во время ./mad com
а у тебя нет
in
./mad rep
mode