Wiring change detection to render process
This commit is contained in:
@@ -134,6 +134,14 @@ export class EditorsComponent {
|
||||
this.setSession(file);
|
||||
});
|
||||
|
||||
window.fs.onChangedFile(async (path: string) => {
|
||||
console.log(path);
|
||||
});
|
||||
|
||||
window.fs.onDeletedFile(async (path: string) => {
|
||||
console.log(path);
|
||||
});
|
||||
|
||||
window.main.onMenuActions(async (action: string) => {
|
||||
let editorComponent = this.getActiveEditorComponent();
|
||||
let editor = editorComponent.editor;
|
||||
|
Reference in New Issue
Block a user