Skip to content

Commit

Permalink
Add -w shorthand for --watch CLI flag (#1276)
Browse files Browse the repository at this point in the history
Co-authored-by: Natalie Weizenbaum <[email protected]>
  • Loading branch information
henrycatalinismith and nex3 authored Apr 15, 2021
1 parent 39f19be commit 11d09cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions lib/src/executable/options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 11d09cf

Please sign in to comment.