[Dancer-users] Getting auto_reload to work

Deepak Gulati deepak.gulati at gmail.com
Thu Dec 16 17:38:35 CET 2010

Hi Folks,

I am trying to get my dancer app to restart/reload any time I change a
module in my lib directory. I've set auto_reload to 1 in config.yml
and have Module::Refresh and Clone modules installed but nothing seems
to happen when I make a change to a module in the lib folder and I
have to manually restart for my changes to take effect. I am on Perl
5.10.1 and Dancer 1.2002 running on Mac OS 10.6.5.

What am I doing wrong?

I realize that auto_reload isn't meant for production use, but it'd be
nice to have my changes loaded automatically on my dev box.


More information about the Dancer-users mailing list