mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-21 12:02:57 -08:00
Update WatchFileSystemAdaptor.ts
This commit is contained in:
parent
f7b3248be2
commit
bf4e9ce508
1 changed files with 3 additions and 4 deletions
|
|
@ -126,8 +126,7 @@ export class WatchFileSystemAdaptor extends FileSystemAdaptor {
|
|||
if (this.workspace) {
|
||||
this.ignoreSymlinks = this.workspace.ignoreSymlinks;
|
||||
}
|
||||
// Initialize file watching
|
||||
this.initializeFileWatching();
|
||||
await this.initializeFileWatching();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -255,7 +254,7 @@ export class WatchFileSystemAdaptor extends FileSystemAdaptor {
|
|||
/**
|
||||
* Initialize file system watching
|
||||
*/
|
||||
private initializeFileWatching(): void {
|
||||
private async initializeFileWatching(): Promise<void> {
|
||||
if (!this.watchPathBase) {
|
||||
return;
|
||||
}
|
||||
|
|
@ -277,7 +276,7 @@ export class WatchFileSystemAdaptor extends FileSystemAdaptor {
|
|||
];
|
||||
|
||||
// Setup nsfw watcher
|
||||
void this.setupNsfwWatcher();
|
||||
await this.setupNsfwWatcher();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue