Skip to content

Commit

Permalink
refactor($core): stop watching unnecessary events (vuejs#1827)
Browse files Browse the repository at this point in the history
  • Loading branch information
billyyyyy3320 authored and fgiraud committed Sep 8, 2019
1 parent 48162aa commit 9050871
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/@vuepress/core/lib/node/dev/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ module.exports = class DevProcess extends EventEmitter {
})
this.pagesWatcher.on('add', target => this.handleUpdate('add', target))
this.pagesWatcher.on('unlink', target => this.handleUpdate('unlink', target))
this.pagesWatcher.on('addDir', target => this.handleUpdate('addDir', target))
this.pagesWatcher.on('unlinkDir', target => this.handleUpdate('unlinkDir', target))
}

/**
Expand Down

0 comments on commit 9050871

Please sign in to comment.