Codebase list libdancer2-perl / 4aa09f1
fix some POD links Sawyer X 8 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
2828 While developing your application, it is often handy to have the server
2929 automatically reload your application when changes are made. There are
3030 two recommended ways of handling this with Dancer: using C< plackup -r >
31 and L< Plack::Loader::Shotgun >. Both have their advantages and disadvantages
31 and L<Plack::Loader::Shotgun>. Both have their advantages and disadvantages
3232 (which will be explained below).
3333
3434 Regardless of the method you use, it is B< not > recommended that you
5151 specified directories. If the timestamp of any files in a watched
5252 directory changes, the application is recompiled and reloaded.
5353
54 See the L< plackup > docs for more information on the C< -r > and C< -R >
54 See the L<plackup> docs for more information on the C< -r > and C< -R >
5555 options.
5656
5757 =head3 Auto reloading with plackup and Shotgun
6060 you, be it for the way it looks for changes, or because there are many
6161 directories you need to monitor, or you want to reload the application any
6262 time one of the modules in Perl's F< lib/ > path changes.
63 L< Plack::Loader::Shotgun > makes this easy by recompiling the application
63 L<Plack::Loader::Shotgun> makes this easy by recompiling the application
6464 on every request.
6565
6666 To use Shotgun, specify it using the loader argument to C< plackup (-L) >: