mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 05:37:51 +00:00
Merge pull request #1652 from balena-io/more-correct-livepush-ux
Improve the UX by only printing effective file changes in livepush
This commit is contained in:
commit
ec73ee270b
@ -271,6 +271,10 @@ export class LivepushManager {
|
||||
// Work out if we need to perform any changes on this container
|
||||
const livepush = this.containers[serviceName].livepush;
|
||||
|
||||
if (!livepush.livepushNeeded(updated, deleted)) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.logger.logLivepush(
|
||||
`Detected changes for container ${serviceName}, updating...`,
|
||||
);
|
||||
|
6
npm-shrinkwrap.json
generated
6
npm-shrinkwrap.json
generated
@ -8282,9 +8282,9 @@
|
||||
"integrity": "sha1-hMinKrWcRyUyFIDJdeZQg0LnCTc="
|
||||
},
|
||||
"livepush": {
|
||||
"version": "2.0.6",
|
||||
"resolved": "https://registry.npmjs.org/livepush/-/livepush-2.0.6.tgz",
|
||||
"integrity": "sha512-z8mP6gxYFc2HE1PJdOmUz/1HLZxqFeoerAWPOX7WFFWxUqZX2PtYx4+K0FxFnrrzdjv0kuMaSU458VO2O/zLmg==",
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/livepush/-/livepush-2.1.0.tgz",
|
||||
"integrity": "sha512-7DNYdaQjr261PHZDh7BZ/U1VlVWtMeuTDmP0EOk6jwuBBTdpGt2Yz7JEpv93ddRv7vthLH/kRUyNdTTgTd9I9Q==",
|
||||
"requires": {
|
||||
"bluebird": "^3.5.1",
|
||||
"docker-file-parser": "^1.0.4",
|
||||
|
@ -206,7 +206,7 @@
|
||||
"is-root": "^2.1.0",
|
||||
"js-yaml": "^3.13.1",
|
||||
"klaw": "^3.0.0",
|
||||
"livepush": "^2.0.6",
|
||||
"livepush": "^2.1.0",
|
||||
"lodash": "^4.17.15",
|
||||
"minimatch": "^3.0.4",
|
||||
"mixpanel": "^0.10.3",
|
||||
|
Loading…
Reference in New Issue
Block a user