[Dancer-users] Getting auto_reload to work

Naveed Massjouni naveedm9 at gmail.com
Sat Dec 18 03:52:43 CET 2010


On Fri, Dec 17, 2010 at 7:33 PM, Daniel Pittman <daniel at rimspace.net> wrote:
> 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

This sounds like a great idea.  We should document this in the pod as
an alternative to using the auto_reload setting.
-Naveed

>
> 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.)
>
> Regards,
>    Daniel
> --
> ✣ Daniel Pittman            ✉ daniel at rimspace.net            ☎ +61 401 155 707
>               ♽ made with 100 percent post-consumer electrons
> _______________________________________________
> Dancer-users mailing list
> Dancer-users at perldancer.org
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>


More information about the Dancer-users mailing list