On Sunday, 11 January 2015 21:37:54 UTC, Kai Janson wrote: > > I just re-read your issues; the recompiling works ... as long as you don't > add new functions. > If you perform a code change on ANYTHING existing, it works. >
Well, adding new functions is kind of what development mode is all about isn't it! > > Controllers: > There is actually a ticket open to fix this very annoying bug. I > troubleshot this even with Evan and it's a pesky error. I hope that > someone in the core team fixes this very soon. > Elixir is able to recompile and pick up the newly added function(s), so it > is not a short coming of the Erlang VM itself, it's ChicagoBoss dropping > the ball somewhere in the modified compiler-chain(s). > > Bummer. > Other code directories (lib and others): > The reloader doesn't pickup added functions up as well (see above). > Adding new modules works, but again, newly added functions are > skipped/ignored. > > Why is it apparently so complicated to just reload a changed file? I am also finding it hard to create debuggable BEAM files too. I think I may end up porting to yaws at this rate despite the great vibe CB ives me. :( > Also, I think I had seen that you had referred to one of the controllers > just by _web_controller and not smsengine_web:* ; if that's the case, that > would be a user error. That could also explain why it does not work in > either mode, development as well as production. > > I spotted that and fixed it shortly after I posted but the problem persists. -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/chicagoboss. To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/8f6b21dc-01ae-459a-98b4-869d4c29863c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
