revolver 1.2.1 revolver: ^1.2.1 copied to clipboard
Automatically reloads the application when file changes are detected, much like Nodemon.
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.
Installation #
pub global activate revolver
Usage #
revolver [options...] application [application arguments...]
$ revolver --help
-e, --ext Watch only the specified extensions.
-p, --use-polling Using file polling, rather than file system events, to detect file changes.
-h, --help Displays this help information.
-g, --git Git project. Ignores git files and respects the contents of .gitignore.
-d, --[no-]ignore-dart Ignore dart project files.
(defaults to on)
Examples #
$ 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