The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

HiD::App::Command::server - HiD 'server' subcmd - start up a Plack-based web server for your site

SYNOPSIS

    $ ../bin/hid server
    HTTP::Server::PSGI: Accepting connections at http://0:5000/

DESCRIPTION

Start a Plack-based web server that serves your destination directory.

ATTRIBUTES

auto_refresh

Automatically refresh result when source file/dir changed, just likey jekyll

Note that setting this will also clean out the destination directory whenever a watched file changes.

clean

Remove any existing site directory prior to the publication run

debug

Emit debug-style logging for requests

port

Port number to bind. Defaults to 5000.

SEE ALSO

See HiD::App::Command for additional command line options supported by all sub commands.

VERSION

version 1.98

AUTHOR

John SJ Anderson <genehack@genehack.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by John SJ Anderson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.