Skip to content

Commit 421ee04

Browse files
committed
Add: moved drivewatcher here
1 parent 0ea6df0 commit 421ee04

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/clients/drive.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@ module.exports = class DriveClient {
129129
return mirrorFolder(dir, { fs: drive, name: '/' }, {
130130
watch: true,
131131
dereference: true,
132-
keepExisting: true,
132+
// When going from fs -> drive, it should overwrite.
133+
keepExisting: false,
133134
ignore: (file, stat, cb) => {
134135
if (shouldIgnore(file)) return process.nextTick(cb, null, true)
135136
return process.nextTick(cb, null, false)

0 commit comments

Comments
 (0)