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:
$ revolver
Add this to your package's pubspec.yaml file:
dependencies:
revolver: ^1.3.0
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.
Now in your Dart code, you can use:
import 'package:revolver/revolver.dart';
Version | Uploaded | Documentation | Archive |
---|---|---|---|
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 |
|
|
Popularity:
Describes how popular the package is relative to other packages.
[more]
|
0
|
Health:
Code health derived from static analysis.
[more]
|
--
|
Maintenance:
Reflects how tidy and up-to-date the package is.
[more]
|
--
|
Overall:
Weighted score of the above.
[more]
|
0
|
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 pubspec.yaml
.
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.
Make sure dartdoc
successfully runs on your package's source files. (-10 points)
Dependencies were not resolved.
Package | Constraint | Resolved | Available |
---|---|---|---|
Direct dependencies | |||
Dart SDK | >=1.24.0 |