How to properly run yaws in embedded mode? I noted in its code something about
'embedded' env variable, so if it is setted to true, then you cannot
re-read a yaws config by simply
When 'embedded' env variable is false, this way works.
Also, when embedded == false and a yaws config contains some mistakes,
erl shell will exit during loading of yaws, even there were some other
applications started perfectly. It is not good.
I want to run applications some automically (erl -s mod1 -s mod2), some
manually (inside erl shell) and i need sometimes re-run yaws with updated
config file. Currently i dont want to use yaws_api:setconf/2 instead of it.