Add more logs
This commit is contained in:
parent
d5c2d1ecbe
commit
4fc628ecef
1 changed files with 15 additions and 3 deletions
|
|
@ -50,6 +50,10 @@ export class ObsidianFileEventHandler implements FileEventHandler {
|
|||
|
||||
public async onModify(file: TAbstractFile): Promise<void> {
|
||||
if (file instanceof TFile) {
|
||||
if (file.basename.startsWith("console-log.iPhone")) {
|
||||
return;
|
||||
}
|
||||
|
||||
Logger.getInstance().info(`File modified: ${file.path}`);
|
||||
|
||||
await this.syncer.syncLocallyUpdatedFile({
|
||||
|
|
|
|||
Loading…
Reference in a new issue