Skip to content

Commit

Permalink
fix(bin/_mocha): Make --watch-extensions default to 'js'
Browse files Browse the repository at this point in the history
The change in c580294 to `--watch-extensions` failed to set a default value. This change specifies
that default value.

Fixes #3336
  • Loading branch information
plroebuck authored and boneskull committed May 18, 2018
1 parent 697952b commit 087dad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/_mocha
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ program
'--watch-extensions <ext>,...',
'additional extensions to monitor with --watch',
list,
[]
['js']
)
.option('--delay', 'wait for async suite definition')
.option('--allow-uncaught', 'enable uncaught errors to propagate')
Expand Down

0 comments on commit 087dad1

Please sign in to comment.