remove change handler until we integrate update file api
This commit is contained in:
parent
eb5012793b
commit
dca542e781
1 changed files with 0 additions and 7 deletions
|
@ -100,13 +100,6 @@ export function registerWatcherFunctions(
|
|||
);
|
||||
await addFile(await getElectronFile(filePath));
|
||||
});
|
||||
ipcRenderer.on('watch-change', async (_, filePath: string) => {
|
||||
filePath = path.normalize(
|
||||
filePath.split(path.sep).join(path.posix.sep)
|
||||
);
|
||||
await removeFile(filePath);
|
||||
await addFile(await getElectronFile(filePath));
|
||||
});
|
||||
ipcRenderer.on('watch-unlink', async (_, filePath: string) => {
|
||||
filePath = path.normalize(
|
||||
filePath.split(path.sep).join(path.posix.sep)
|
||||
|
|
Loading…
Reference in a new issue