diff --git a/src/main-process/atom-application.js b/src/main-process/atom-application.js index ed04f9182..cce859789 100644 --- a/src/main-process/atom-application.js +++ b/src/main-process/atom-application.js @@ -173,7 +173,8 @@ class AtomApplication extends EventEmitter { if (!this.configFilePromise) { this.configFilePromise = this.configFile.watch() this.disposable.add(await this.configFilePromise) - this.config.onDidChange('core.titleBar', this.promptForRestart.bind(this)) + this.config.onDidChange('core.titleBar', () => this.promptForRestart()) + this.config.onDidChange('core.colorProfile', () => this.promptForRestart()) } const optionsForWindowsToOpen = []