revolver 1.0.2

  • Readme
  • Changelog
  • Installing
  • --

Automatically reloads your command line application when changes to files are detected. Monitoring occurs on files within the current path, recursively.

Check the documentation for extra functionality using the API.

Revolver was influenced by Nodemon.

Usage #

revolver [OPTIONS] APPLICATION.dart [PARAMS ...]
Options #

--ext, -e

Watch only the specified extensions: --ext="dart,yaml,conf"

--use-polling, -p

Using file polling, rather than file system events, to detect file changes.

Version 1.0.0 #
  • Initial release.
Version 1.0.1 #
  • Fixed issue with displaying usage.

Use this package as an executable

1. Install it

You can install the package from the command line:

$ pub global activate revolver

2. Use it

The package has the following executables:

$ revolver

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  revolver: ^1.0.2

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:revolver/revolver.dart';
Awaiting analysis to complete.