Remove top-level construction of a notify Watcher

It was actually dead code and is screwing up V8 startup snapshots.
This commit is contained in:
Nathan Sobo 2019-05-01 14:54:13 -06:00
parent 90ec3e0bf7
commit f9d9ed8916

View File

@ -7,8 +7,6 @@ const Watcher = require('@atom/notify')
const nsfw = require('@atom/nsfw')
const {NativeWatcherRegistry} = require('./native-watcher-registry')
const watcher = new Watcher()
// Private: Associate native watcher action flags with descriptive String equivalents.
const ACTION_MAP = new Map([
[nsfw.actions.MODIFIED, 'modified'],