[Dancer-users] Getting auto_reload to work

Daniel Pittman daniel at rimspace.net
Sat Dec 18 01:33:36 CET 2010

On Sat, Dec 18, 2010 at 01:07, Alex Kapranoff <kapranoff at gmail.com> wrote:
> On Fri, Dec 17, 2010 at 16:00, franck <franck at lumberjaph.net> wrote:
>>>>> The auto_reload option is being deprecated and will be removed in
>>>>> future versions.
>>>> Why?
>>>> I am being sad when reading this.
>>>> What will be replaced for this feature?
>>> Well, the way it's done currently is bad, and almost never worked.
>> and there is a huge memory leak when using this feature.
> Not a problem during development.

FWIW, if I needed something like this I would use Plackup and - if
necessary - the "Shotgun" reloader to achieve the same results, using
the "is a PSGI" feature of Dancer.

] plackup -L Shotgun ... myapp

Which should do what you want without the Dancer folks having to
maintain it.  (I always go check if there is a Plack way to achieve
something like that, because it is then portable to other frameworks
as well.)

✣ Daniel Pittman            ✉ daniel at rimspace.net            ☎ +61 401 155 707
              ♽ made with 100 percent post-consumer electrons

More information about the Dancer-users mailing list