revolver 1.3.0

  • Installing
  • Versions
  • 46

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.


pub global activate revolver


revolver [options...] application [application arguments...]
$ revolver --help
-e, --ext                 Watch only the specified extensions.
-w, --working-dir         Overrides the current working directory,.
                          (defaults to "/files/projects/dart/revolver")

-p, --use-polling         Using file polling, rather than file system events, to detect file changes.
-h, --help                Displays this help information.
-g, --[no-]git            Ignores git files and respects the contents of .gitignore.
                          (defaults to on)

-d, --[no-]ignore-dart    Ignore dart project files.
                          (defaults to on)


$ revolver --ext="dart,yaml,conf" application.dart
Start.     application.dart
Modified.  application.dart
Reload.    application.dart
$ revolver --git bin/server.dart -p 8080
Start.     bin/server.dart
New File.  bin/test1
Reload.    bin/server.dart
Deleted.   bin/test1
Reload.    bin/server.dart
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.3.0"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages 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';
Version Uploaded Documentation Archive
1.3.0 Nov 22, 2017 Go to the documentation of revolver 1.3.0 Download revolver 1.3.0 archive
1.2.1 Aug 2, 2017 Go to the documentation of revolver 1.2.1 Download revolver 1.2.1 archive
1.2.0 Aug 1, 2017 Go to the documentation of revolver 1.2.0 Download revolver 1.2.0 archive
1.1.0 Jul 30, 2017 Go to the documentation of revolver 1.1.0 Download revolver 1.1.0 archive
1.0.2 Jul 23, 2017 Go to the documentation of revolver 1.0.2 Download revolver 1.0.2 archive
1.0.1+1 Jan 28, 2017 Go to the documentation of revolver 1.0.1+1 Download revolver 1.0.1+1 archive
1.0.1 Feb 23, 2016 Go to the documentation of revolver 1.0.1 Download revolver 1.0.1 archive
1.0.0 Feb 22, 2016 Go to the documentation of revolver 1.0.0 Download revolver 1.0.0 archive


We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.60.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
88 / 100
Reflects how tidy and up-to-date the package is. [more]
99 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, other

Primary library: package:revolver/revolver.dart with components: io, isolate.


  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 error 16 hints.

    Strong-mode analysis of lib/revolver.dart failed with the following error:

    line: 48 col: 25
    The argument type '(RevolverAction) → Null' can't be assigned to the parameter type '(dynamic) → void'.

    Run dartfmt to format lib/src/file_filter.dart.

    Similar analysis of the following files failed:

    • lib/src/file_util.dart (hint)
    • lib/src/file_watcher.dart (hint)
    • lib/src/messaging.dart (hint)
    • lib/src/project_template.dart (hint)
  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use revolver.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.24.0
ansicolor >=0.0.9 <0.1.0 0.0.9 0.1.0
args >=0.13.3 <0.14.0 0.13.7 1.4.3
glob >=1.1.0 <1.2.0 1.1.5
watcher >=0.9.7 <0.10.0 0.9.7+8
Transitive dependencies
async 2.0.7
charcode 1.1.1
collection 1.14.10
path 1.6.0
source_span 1.4.0
string_scanner 1.0.2