added start / stop events; starting / stopping folder watcher.
This commit is contained in:
@@ -136,7 +136,11 @@ function delayedInit (state) {
|
||||
announcement.init()
|
||||
dock.init()
|
||||
updater.init()
|
||||
folderWatcher.init()
|
||||
|
||||
ipc.setModule('folderWatcher', folderWatcher)
|
||||
if (folderWatcher.isEnabled()) {
|
||||
folderWatcher.start()
|
||||
}
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
const userTasks = require('./user-tasks')
|
||||
|
||||
Reference in New Issue
Block a user