Skip to content

Commit

Permalink
Merge pull request #419 from garden-io/fix-stale-deploy-version
Browse files Browse the repository at this point in the history
fix: stale version in some tasks triggered by watch handler
  • Loading branch information
edvald authored Dec 6, 2018
2 parents b6be8ae + da134b4 commit abdf98b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion garden-service/src/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export async function processModules(

if (changedModule) {
log.silly({ msg: `Files changed for module ${changedModule.name}` })

changedModule = await garden.getModule(changedModule.name)
await Bluebird.map(changeHandler!(changedModule), (task) => garden.addTask(task))
}

Expand Down
2 changes: 1 addition & 1 deletion garden-service/src/tasks/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class BuildTask extends BaseTask {

const log = this.log.info({
section: this.getName(),
msg: "Building",
msg: `Building version ${module.version}`,
status: "active",
})

Expand Down

0 comments on commit abdf98b

Please sign in to comment.