Lower severity of keymaps.json being unwatched from execption to warning

This commit is contained in:
Ben Gotow 2018-11-05 23:36:58 -08:00
parent a4e12c654e
commit 9e7f9d4642

View file

@ -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() {