NAME

lrrr - Little Restart Runner (Really)

VERSION

version v0.0.3

SYNOPSIS

lrrr [--watch|-w <dir[,dir...]> --backend|-b]... <command>
lrrr --help|-h

DESCRIPTION

This program will watch one or more directories and re-run the given command when the contents of the files in those directories changes.

This program was heavily copied and only slightly modified from Mojo::Server::Morbo. This program is useful when working in an environment that can't use morbo (a non-Mojolicious program, or a PSGI Mojolicious server).

Backends

This program uses Mojo::Server::Morbo::Backend classes to do the heavy lifting. The default is Mojo::Server::Morbo::Backend::Poll. Choose a specific one by setting MOJO_MORBO_BACKEND.

OPTIONS

-w, --watch

A directory or directories to watch, separated by commas. Defaults to the first argument (if it's a path to a file) and the lib and templates directories in the current directory.

-b, --backend

Choose a specific backend for watching file changes. The default is Poll (Mojo::Server::Morbo::Backend::Poll). Takes precedence over the MOJO_MORBO_BACKEND environment variable.

ENVIRONMENT

MOJO_MORBO_BACKEND

Choose a specific backend for watching file changes. The default is Poll (Mojo::Server::Morbo::Backend::Poll).

MORBO_VERBOSE

If true, will write which files were changed to STDOUT when restarting.

SEE ALSO

Mojo::Server::Morbo

AUTHOR

(© 2019) Sebastian Riedel and the Mojolicious developers (©) Grant Street Group

AUTHOR

Grant Street Group <developers@grantstreet.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2019 by Grant Street Group.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

1 POD Error

The following errors were encountered while parsing the POD:

Around line 201:

You forgot a '=back' before '=head1'