Preliminary file watch logic added
This commit is contained in:
@@ -94,6 +94,7 @@ export class EditorsComponent {
|
||||
|
||||
file.session.destroy();
|
||||
this.files.delete(path);
|
||||
window.fs.closeFile(path);
|
||||
});
|
||||
}
|
||||
|
||||
|
@@ -27,8 +27,9 @@ declare global {
|
||||
openFiles: (arg0) => Promise<string>,
|
||||
saveFile: (arg0: any, arg1: any) => Promise<string>,
|
||||
saveFileAs: (arg0: any) => Promise<string>,
|
||||
closeFile: (arg0: any) => Promise<string>,
|
||||
getPathForFile: any,
|
||||
onLoadFiles: (arg0: any) => Promise<string>,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user