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 --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
You can install the package from the command line:
$ pub global activate revolver
The package has the following executables:
Add this to your package's pubspec.yaml file:
dependencies: revolver: ^1.3.0
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.3.0||Nov 22, 2017|
|1.2.1||Aug 2, 2017|
|1.2.0||Aug 1, 2017|
|1.1.0||Jul 30, 2017|
|1.0.2||Jul 23, 2017|
|1.0.1+1||Jan 28, 2017|
|1.0.1||Feb 23, 2016|
|1.0.0||Feb 22, 2016|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
Support Dart 2 in
The SDK constraint in
pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.
dartdoc successfully runs on your package's source files. (-10 points)
Dependencies were not resolved.