Skip to content

Commit

Permalink
Merge pull request #416 from cyppan/cyppan/missing-callback-listeners…
Browse files Browse the repository at this point in the history
…-in-coreCreateProcessor

fix(core): some callback listeners missing in coreCreateProcessor
  • Loading branch information
abrenneke authored Jun 27, 2024
2 parents c2c6ba7 + 2e4d03a commit 4329cfd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/core/src/api/createProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,18 @@ export function coreCreateProcessor(project: Project, options: RunGraphOptions)
processor.on('nodeExcluded', options.onNodeExcluded);
}

if (options.onGraphStart) {
processor.on('graphStart', options.onGraphStart);
}

if (options.onGraphError) {
processor.on('graphError', options.onGraphError);
}

if (options.onGraphFinish) {
processor.on('graphFinish', options.onGraphFinish);
}

if (options.onPartialOutput) {
processor.on('partialOutput', options.onPartialOutput);
}
Expand Down

0 comments on commit 4329cfd

Please sign in to comment.