In Gulp 3.x there was the ability to tie into its event system with Orchestrator to do things when a task starts or a task ends by using the task_start, task_stop or stop listeners.
Example:
gulp.on('task_start', (e) => {
// Task event information
console.log(e);
});
It seems Gulp has removed Orchestrator and replaced it with a new library called Undertaker. However, I can't find any reference to an internal API event system now in Gulp.
Is there any way to achieve these type of events in a custom Gulp plugin still in version 4.x?