Skip to content

Commit 19f2d1b

Browse files
chenweifanglenqwang
authored andcommitted
fix: remove another redundant code
1 parent 6fdd1cb commit 19f2d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = (api, options) => {
4040
},
4141
(args) => {
4242
const { key, inspect } = args
43-
const immediate = typeof inspect === 'undefined' && !inspect
43+
const immediate = typeof inspect === 'undefined'
4444
const config = resolveWatch(api, options, key, immediate)
4545

4646
if (!immediate) {

0 commit comments

Comments
 (0)