On Tue, Apr 26, 2011 at 2:07 PM, Matias Eyzaguirre
<dented42@gmail.com> wrote:
Ah, I'm not a windows guy so I was unaware of that. And having it crash when trying to do what it's supposed to do is most definitely undesirable.
One thought that I had (without knowing how direct-plugins does it's stuff) is that it doesn't like it when you reload stuff. Perhaps when you try to reload the application direct plugins doesn't load it because it can see that those modules are already loaded? Would explicitly unloading the app first solve the problem?
That would probably work, but the main point of the recent changes was to avoid re-loading the entire application, which does not scale as the application gets bigger.
Just a thought.
On Apr 25, 2011, at 11:53 AM, Michael Snoyman wrote:
> I *did* try using the plugins package in the past, but ran into two problems:
>
> 1) Couldn't get it installed on Windows, which (for better or worse)
> is a supported platform for Yesod development.
> 2) The whole thing crashed when trying to load the app.
>
> Point 2 might be solved by our switch to Dynamic, and maybe the
> Windows issue can also be fixed somehow. But my experience so far
> would definitely categorize direct-plugins as the simpler of the two.