File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ var opts = minimist(devArgs, {
2929 'prefer-ts' ,
3030 'exec-check' ,
3131 'debug' ,
32- 'tree-kill'
32+ 'tree-kill' ,
33+ 'clear' , 'cls'
3334 ] ,
3435 string : [
3536 'compiler' ,
@@ -47,7 +48,8 @@ var opts = minimist(devArgs, {
4748 'compile-timeout' ,
4849 'ignore-watch' ,
4950 'interval' ,
50- 'debounce'
51+ 'debounce' ,
52+ 'watch'
5153 ] ,
5254 alias : {
5355 fast : 'F' ,
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ module.exports = function (main, opts) {
2727 if ( opts . dedupe ) c . dedupe = true ;
2828 if ( opts . respawn ) c . respawn = true ;
2929 if ( opts . notify === false ) c . notify = false ;
30+ if ( opts . clear || opts . cls ) c . clear = true ;
3031 }
3132
3233 var ignoreWatch = ( [ ] ) . concat ( opts && opts [ 'ignore-watch' ] || [ ] ) . concat ( c . ignore || [ ] ) ;
@@ -38,7 +39,7 @@ module.exports = function (main, opts) {
3839 notify : c . notify !== false ,
3940 deps : c . deps ,
4041 timestamp : c . timestamp || ( c . timestamp !== false && 'HH:MM:ss' ) ,
41- clear : ! ! c . clear ,
42+ clear : ! ! ( c . clear ) ,
4243 dedupe : ! ! c . dedupe ,
4344 ignore : ignore ,
4445 respawn : c . respawn || false ,
You can’t perform that action at this time.
0 commit comments