Sometimes if you have error in your code server is not restarted even
with '-r' and without error message. If you observe 'caching' just
restart the server and you will see the error.
Tyler Bird wrote:
Hi,
I just installed catalyst and I change parameter in my controller file
say to retrieve a different ranking of books
$context->stash->{books} = [
$context->model('MyAppDB::Book')->search( { rating => 5 }
) ];
to
$context->stash->{books} = [
$context->model('MyAppDB::Book')->search( { rating => 4}
) ];
but when I visit the generated page it will not show the 4 rankings
UNTIL I restart the catalyst test server.
How can I make it so that all changes to controllers are automatically
recognized and not cached
until you restart the webserver?
Thanks so much
Tyler
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive:
http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/