Added polling for watcher.

This commit is contained in:
Patrick Fic
2020-10-20 10:53:50 -07:00
parent 900724f660
commit c277f6d32d
20 changed files with 205 additions and 19 deletions

View File

@@ -1,5 +1,14 @@
const Store = require("electron-store");
const store = new Store({ defaults: { filePaths: [], accepted_ins_co: [] } });
const store = new Store({
defaults: {
filePaths: [],
accepted_ins_co: [],
polling: {
enabled: false,
pollingInterval: 100,
},
},
});
exports.store = store;