From ea43130135c0d7b9be2ccd50efe2279b302554d1 Mon Sep 17 00:00:00 2001 From: Cameron Diver Date: Wed, 12 Jun 2019 10:35:44 +0100 Subject: [PATCH] livepush: Ignore the .git directory when performing a livepush Change-type: patch Signed-off-by: Cameron Diver --- lib/utils/device/live.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/utils/device/live.ts b/lib/utils/device/live.ts index f8a63a51..66f8a2a8 100644 --- a/lib/utils/device/live.ts +++ b/lib/utils/device/live.ts @@ -159,6 +159,7 @@ export class LivepushManager { const monitor = chokidar.watch('.', { cwd: context, ignoreInitial: true, + ignored: '.git', }); monitor.on('add', (changedPath: string) => addEvent(this.updateEventsWaiting[serviceName], changedPath),