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, {
29
29
'prefer-ts' ,
30
30
'exec-check' ,
31
31
'debug' ,
32
- 'tree-kill'
32
+ 'tree-kill' ,
33
+ 'clear' , 'cls'
33
34
] ,
34
35
string : [
35
36
'compiler' ,
@@ -47,7 +48,8 @@ var opts = minimist(devArgs, {
47
48
'compile-timeout' ,
48
49
'ignore-watch' ,
49
50
'interval' ,
50
- 'debounce'
51
+ 'debounce' ,
52
+ 'watch'
51
53
] ,
52
54
alias : {
53
55
fast : 'F' ,
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ module.exports = function (main, opts) {
27
27
if ( opts . dedupe ) c . dedupe = true ;
28
28
if ( opts . respawn ) c . respawn = true ;
29
29
if ( opts . notify === false ) c . notify = false ;
30
+ if ( opts . clear || opts . cls ) c . clear = true ;
30
31
}
31
32
32
33
var ignoreWatch = ( [ ] ) . concat ( opts && opts [ 'ignore-watch' ] || [ ] ) . concat ( c . ignore || [ ] ) ;
@@ -38,7 +39,7 @@ module.exports = function (main, opts) {
38
39
notify : c . notify !== false ,
39
40
deps : c . deps ,
40
41
timestamp : c . timestamp || ( c . timestamp !== false && 'HH:MM:ss' ) ,
41
- clear : ! ! c . clear ,
42
+ clear : ! ! ( c . clear ) ,
42
43
dedupe : ! ! c . dedupe ,
43
44
ignore : ignore ,
44
45
respawn : c . respawn || false ,
You can’t perform that action at this time.
0 commit comments