mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 06:33:28 +00:00
Merge pull request #1305 from balena-io/live-ignore-dev
livepush: Ignore the .git directory when performing a livepush
This commit is contained in:
commit
cf93438df1
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user