Add -w shorthand for --watch CLI flag (#1276)

Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
This commit is contained in:
Henry Catalini Smith 2021-04-15 23:23:05 +02:00 committed by GitHub
parent 39f19bef98
commit 11d09cffd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,10 @@
* Allow the null safety release of args and watcher.
### Command Line Interface
* Add a `-w` shorthand for the `--watch` flag.
## 1.32.8
* Update chokidar version for Node API tests.

View File

@ -81,6 +81,7 @@ class ExecutableOptions {
parser
..addSeparator(_separator('Other'))
..addFlag('watch',
abbr: 'w',
help: 'Watch stylesheets and recompile when they change.',
negatable: false)
..addFlag('poll',