mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-22 23:23:54 +08:00
Lower severity of keymaps.json being unwatched from execption to warning
This commit is contained in:
parent
a4e12c654e
commit
9e7f9d4642
1 changed files with 6 additions and 1 deletions
|
@ -80,7 +80,12 @@ class KeymapFile {
|
|||
};
|
||||
|
||||
watch() {
|
||||
fs.watch(this._path, this.load);
|
||||
try {
|
||||
fs.watch(this._path, this.load);
|
||||
} catch (err) {
|
||||
// usually an ENOSPC error
|
||||
console.warn(`Unable to watch your keymap file for changes: ${err.toString()}`);
|
||||
}
|
||||
}
|
||||
|
||||
bindings() {
|
||||
|
|
Loading…
Reference in a new issue