Skip to content

Commit 9050871

Browse files
billyyyyy3320fgiraud
authored and
fgiraud
committed
refactor($core): stop watching unnecessary events (#1827)
1 parent 48162aa commit 9050871

File tree

1 file changed

+0
-2
lines changed
  • packages/@vuepress/core/lib/node/dev

1 file changed

+0
-2
lines changed

packages/@vuepress/core/lib/node/dev/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ module.exports = class DevProcess extends EventEmitter {
7676
})
7777
this.pagesWatcher.on('add', target => this.handleUpdate('add', target))
7878
this.pagesWatcher.on('unlink', target => this.handleUpdate('unlink', target))
79-
this.pagesWatcher.on('addDir', target => this.handleUpdate('addDir', target))
80-
this.pagesWatcher.on('unlinkDir', target => this.handleUpdate('unlinkDir', target))
8179
}
8280

8381
/**

0 commit comments

Comments
 (0)