1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
This commit is contained in:
Laurent Cozic 2020-07-23 23:06:58 +00:00
parent 9cebbbe7cf
commit d6daa34e0a

View File

@ -96,7 +96,7 @@ export default class ResourceEditWatcher {
};
const handleChangeEvent = async (path:string) => {
this.logger().debug('ResourceEditWatcher: handleChangeEvent: ' + path);
this.logger().debug(`ResourceEditWatcher: handleChangeEvent: ${path}`);
const watchedItem = this.watchedItemByPath(path);
@ -128,7 +128,7 @@ export default class ResourceEditWatcher {
this.logger().debug(`ResourceEditWatcher: Queuing save action: ${resourceId}`);
watchedItem.asyncSaveQueue.push(makeSaveAction(resourceId, path));
watchedItem.lastFileUpdatedTime = editedFileUpdatedTime;
}
};
if (!this.watcher_) {
this.watcher_ = this.chokidar_.watch(fileToWatch);