Skip to content

Parse warnings/errors #32

@carlin-q-scott

Description

@carlin-q-scott

The Exec task supports regular expressions for finding error/warning lines in the console output. If you set these up, those erros/warnings appear in the error list window like all other build errors. Here's how I have it set up in my project.

NPM

<Exec ...
      CustomErrorRegularExpression="^npm ERR!"
      CustomWarningRegularExpression="^npm WARN"
/>

Grunt

<Exec ...
      CustomErrorRegularExpression="^Error"
      CustomWarningRegularExpression="^Warning"
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions