diff --git a/lib/mixins/repo-fs-store.js b/lib/mixins/repo-fs-store.js index 1f6f85c5..b492e737 100644 --- a/lib/mixins/repo-fs-store.js +++ b/lib/mixins/repo-fs-store.js @@ -334,6 +334,7 @@ function mixin(repo, fs = require('fs')) { file.setModifiedTime(stats.mtime) file.modified = false + repo.addFilePath(filePath) if (emitFileUpdate) repo.emit('file.saved', file) cb(null, file) }) diff --git a/lib/project.js b/lib/project.js index e4df5cab..f16f7633 100644 --- a/lib/project.js +++ b/lib/project.js @@ -488,7 +488,6 @@ module.exports = class WorkerProject extends Project { this.repo.moveTask({ task, newList, newPos }, (err) => { if (err) return reject(err) - resolve({ file, task }) }) })