econfig icon indicating copy to clipboard operation
econfig copied to clipboard

Config example

Open silviucpp opened this issue 9 years ago • 4 comments

Hello please provide an example on how the app.config should look for econfig.

{ econfig,[ { confs, [{config_name, ["/srv/www/src/config.ini"], [autoreload]} ] } ] } Something like this ?

Silviu

silviucpp avatar May 16 '16 19:05 silviucpp

should be yes: https://github.com/benoitc/econfig/blob/master/src/econfig_server.erl#L511-L538

benoitc avatar May 16 '16 19:05 benoitc

For some reason for me is working only in case I use [{[autoreload, false]}]. With [{autoreload, true}] is not working. It's crashing when it's starting. I will investigate why.. Maybe I missed a dependency..

Silviu

silviucpp avatar May 16 '16 20:05 silviucpp

@silviucpp will check tomorrow :)

benoitc avatar May 16 '16 21:05 benoitc

@silviucpp can you paste me the crash log you have? It can help also :)

benoitc avatar May 17 '16 02:05 benoitc