Added polling for watcher.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import ipcTypes from "../ipc.types";
|
||||
import {
|
||||
setSettings,
|
||||
setWatchedPaths,
|
||||
setWatcherStatus,
|
||||
} from "../redux/application/application.actions";
|
||||
@@ -52,3 +53,7 @@ ipcRenderer.on(
|
||||
await UpsertEstimate(obj);
|
||||
}
|
||||
);
|
||||
|
||||
ipcRenderer.on(ipcTypes.default.store.response, (event, obj) => {
|
||||
store.dispatch(setSettings(obj));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user