[web-devel] yesod devel strangeness

Matias Eyzaguirre dented42 at gmail.com
Sun Apr 24 23:13:44 CEST 2011

I'm curious as to why direct-plugins was used instead of hs-plugins like yi uses. I have not actually had any experience with either, but from what I can tell it seems like hs-plugins is a bit simpler to work with, and it doesn't seem to require that packages be installed. perhaps that would be an easier route?

But again, as I said I have never actually used either of the two packages, so my opinion is based entirely on hearsay and not on actual hands on experience.

On Apr 23, 2011, at 11:39 PM, Michael Snoyman wrote:

> Wow, this does seem to be a problem. It appears that loadDynamic never
> loads a new version of the app. I can think of two approaches for
> fixing this:
> * Start the web server as a separate process, and kill/restart that
> process each time a compile is successful (easier route).
> * Ditch direct-plugins and write some code that loads the application
> directly from the dist folder, hopefully avoiding this caching in the
> process.
> The first approach is probably easier to hack together, but the second
> is better as a long-term strategy, since we want to avoid the need to
> install apps anyway. I have no experience with dynamic code loading
> besides the direct-plugins and plugins packages, so if anyone has
> recommendations, I'm happy to hear them.
> Michael

More information about the web-devel mailing list