pull/3559/head
Laurent Cozic 2020-07-23 23:06:58 +00:00
parent 9cebbbe7cf
commit d6daa34e0a
1 changed files with 2 additions and 2 deletions

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);