Skip to content

Print when commands start #1158

@paulharris

Description

@paulharris

The old ninja printed the command/task when it started.
Since 1.7 or so, it changed to print when they were finished, so that the build output is printed along with the task.

This is a good change,
however,
Sometimes the compiler gets stuck in an infinite loop, and the old ninja's behaviour was handy because I could tell which file it was getting stuck on.

Also, I could see which tasks it was processing, and I could mentally estimate how long the tasks would take.

Maybe it could have a 'status bar' style output, that shows what jobs are currently building?
eg aptitude / apt-get / parallel ftp / parallel network transfers tend to have such a status bar.

Otherwise, would be good to have a switch to print the tasks as they start, for situations where the compiler is causing problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions