elixir-web / weber

[WiP] Web framework for Elixir inspired by Rails [#WeberMVC at freenode]
http://elixir-web.github.io/weber/
MIT License
371 stars 33 forks source link

reloading occurs even when configured not to #182

Closed adamkittelson closed 10 years ago

adamkittelson commented 10 years ago

When I update https://github.com/0xAX/weber/blob/master/lib/weber/handler/weber_req_handler.ex#L30

to

if Keyword.get(Config.config, :reload) == true do
  Weber.Reload.purge()
end

that seems to fix it for me, but I'm not sure if there should be more to it (e.g. not starting / enabling Weber.reload at https://github.com/0xAX/weber/blob/master/lib/weber.ex#L53) or not so I thought I'd create an issue rather than a pull request.

0xAX commented 10 years ago

hmm, thanks for the report, i will check

0xAX commented 10 years ago

Yes, must work now.